|
|
|
[
Permlink
| « Hide
]
Erki Männiste [01/Mar/16 01:25 PM]
File containing configuration with repo and build request
I have attached config and buildrequest XMLs.
The build gets triggered over rest, but config goes to error saying Error executing check condition job. Build condition is nothing special, the regular Build If Changed I can't find anything related from server logs.
Manual trigger works. It also works using the Trigger rest resource, but I can't give shortBranch with it and it builds all the branches matching the definition, which is not intended.
Agent write 3 lines:
2016-03-01 13:51:17,260 [pool-1-thread-78] INFO com.pmease.quickbuild.CheckConditionJob - Taking repository snapshots... 2016-03-01 13:51:17,281 [pool-1-thread-78] INFO com.pmease.quickbuild.repositorysupport.Repository - Taking snapshot of repository 'test'... 2016-03-01 13:51:17,281 [pool-1-thread-78] INFO com.pmease.quickbuild.repositorysupport.Repository - Determining head revision for repository: test The short branch has to be specified with below format:
<com.pmease.quickbuild.BuildRequest> <configurationId>1</configurationId> <respectBuildCondition>true</respectBuildCondition> <shortBranch> <name>refs/heads/dev</name> <revision>400ac1ce47bcf7cee7bb21ef45538566b06f859a</revision> </shortBranch> </com.pmease.quickbuild.BuildRequest> |