Key: |
QB-180
|
Type: |
Improvement
|
Status: |
Resolved
|
Resolution: |
Fixed
|
Priority: |
Major
|
Assignee: |
Robin Shen
|
Reporter: |
Don Ross
|
Votes: |
1
|
Watchers: |
1
|
If you were logged in you would be able to see more operations.
|
|
|
QuickBuild
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
|
|
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.
|
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.
|
Show » |
|