<< Back to previous view |
[QB-180] Be able to run the same build step multiple times in a build
|
|
Status: | Resolved |
Project: | QuickBuild |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Improvement | Priority: | Major |
Reporter: | Don Ross | Assigned To: | Robin Shen |
Resolution: | Fixed | Votes: | 1 |
Remaining Estimate: | Unknown | Time Spent: | Unknown |
Original Estimate: | Unknown |
Description |
I have a build which consists of several steps, each of which takes an hour or more. After each step, I need to copy the build logs to the publish directory and send a notification message of the current status. However, if I put the 'publish logs' step into the build procedure more than once, Quickbuild will not run, because the same build cannot be called multiple times. I get an error in the configuration log as follows: 2006-12-18 17:37:22,796 [Thread-1803] ERROR - Failed to trigger configuration. java.lang.RuntimeException: Step "prop output logs" should not be used more than once during triggering of configuration "build.re.install". at com.pmease.quickbuild.model.Configuration.validateSteps(Configuration.java:1456) at com.pmease.quickbuild.model.Configuration.validateSteps(Configuration.java:1479) at com.pmease.quickbuild.model.Configuration.performBuild(Configuration.java:1278) at com.pmease.quickbuild.model.Configuration.trigger(Configuration.java:985) at com.pmease.quickbuild.triggeringinstance.ManualTriggeringInstance.execute(ManualTriggeringInstance.java:51) at com.pmease.quickbuild.model.Queue$BuildRunner.run(Queue.java:221) at java.lang.Thread.run(Thread.java:595) Current workaround is to have six different (and identical) 'publish logs' steps, which I call in order. Ditto for the 'send status notification' email. This is not reasonable. |
Comments |
Comment by Robin Shen [ 25/Jun/10 07:42 AM ] |
In 3.0 beta1, step can be reused in different composition steps and can even be repeated for a set of parameters. |