Could you tell me if Groovy API could get a build object by buildId?
I have a configuration that checks out a QB repo artifacts. And I'm also trying to get that build object to access its variable values as well.
So far I can only get to this point:
if I use referenced repo object (QuickbuildRepository class), it gives me the buildId of that checkout dependency (by using function repo.getRevision().getValue())
And I know which configuration this build object belongs to, but I couldn't find a function from configuration object that returns build by Id (no .getBuild(Long Id) something like this)
Or, if the QB repo object (QuickbuildRepository) itself can just return the dependency object directly, that'd be even better.
Thanks very much!
- solved #3
- replies 2
- views 1202
- stars 0