Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

Remote QB repository: get build issue #3895

kururin ·

Hello

We are working with a remote QB repository.

Getting revision works fine:

def remoteBuildId = repositories.get("REMOTE_QB_REPO").getRevision();

But if we want to get the build object, it returns the current local build, not the remote one:

def remoteBuildId = repositories.get("REMOTE_QB_REPO").getBuild();

Is it a bug?
Thank you
Mathieu

  • replies 2
  • views 305
  • stars 0
robinshen ADMIN ·

This is expected behavior. The repository.getBuild() always returns the current build. Checking out from remote QB instance is a deprecated feature and we suggest to avoid using it if possible.

kururin ·

Actually we don't want to check out a remote repository.
We just wanted to know if it was possible get the variable values of a remote build. Not very important, if it's deprecated we'll deal with that.