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.