|
|
|
Is there any way to determine what is causing the build condition to fail? Perhaps an error or warning if this happens during a scheduled configuration..
2014-05-28 01:23:25,085 [pool-1-thread-1045] INFO com.pmease.quickbuild.DefaultBuildEngine - Checking build condition on node 'host:8810'... 2014-05-28 01:23:25,086 [pool-1-thread-1046] INFO com.pmease.quickbuild.CheckConditionJob - Taking repository snapshots... 2014-05-28 01:23:25,088 [pool-1-thread-1046] INFO com.pmease.quickbuild.CheckConditionJob - Evaluating build condition... 2014-05-28 01:23:25,099 [pool-1-thread-1045] INFO com.pmease.quickbuild.DefaultBuildEngine - Build condition not satisfied, new build won't be generated. 2014-05-28 01:23:25,099 [pool-1-thread-1045] INFO com.pmease.quickbuild.DefaultBuildEngine - Build request has been processed By default the condition is set to only run build if there are changes found in SCM. If however you are using complicated scripts to calculate build condition, you may put some log information in the script body to help identifying the problem.
Thanks Robin,
It was failing on the SCM changes as you described. Is there any way to make the reason why it failed (such as build-condition) appear in the interface? While it might not be an error, it should still indicate that the scheduled job didn't execute for a reason. Thanks! We'd rather not to display this as an error if the build condition evaluation itself does not report an error, as otherwise, almost all configurations not necessary being built will be cluttered with such message. If you want to make the reason obvious, just throw a QuickbuildException in your build condition evaluation script.
I am closing this issue now, feel free to reopen it if you still feel like this is a problem. |
Build condition not satisfied, new build won't be generated.