History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-180
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Robin Shen
Reporter: Don Ross
Votes: 1
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
QuickBuild

Be able to run the same build step multiple times in a build

Created: 18/Dec/06 04:07 PM   Updated: 25/Jun/10 07:42 AM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
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.


 All   Comments   Work Log   Change History      Sort Order:
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.