[Anthill-pro] Running a non-originating workflow
Wes Bramhall
WesB at widen.com
Mon May 19 17:00:54 CDT 2008
Here's my setup:
My Project
Workflow A
Job A
Workflow B
Job B
Workflow A uses the default project working directory, checks out some
source, compiles it and generates three artifacts, CDE. The last thing
Job A does is run Workflow B. Workflow A completes successfully, but
Workflow B fails with the following error:
2008-05-13 10:31:47,582 ERROR job\17 - Caught unexpected exception
com.urbancode.command.CommandException: A working directory must be set
for this workflow
at
com.urbancode.anthill3.step.builder.shellscript.ShellScriptBuildStep.per
form(ShellScriptBuildStep.java:48)
at
com.urbancode.anthill3.services.jobs.StepExecutor.execute(StepExecutor.j
ava:279)
at
com.urbancode.anthill3.services.jobs.StepExecutor.execute(StepExecutor.j
ava:352)
at
com.urbancode.anthill3.services.jobs.SimpleAgentJobDelegate.perform(Simp
leAgentJobDelegate.java:220)
at com.urbancode.anthill3.services.jobs.Job.run(Job.java:153)
at
com.urbancode.commons.util.ThreadPool$WorkerThread.run(ThreadPool.java:2
08)
2008-05-13 10:31:47,598 WARN job\17 - Job 17 had no working directory
to release
2008-05-13 10:31:47,598 INFO job\17 - Job Trace
com.urbancode.anthill3.domain.jobtrace.buildlife.BuildLifeJobTrace [17]
released acquired agent tcp://127.0.0.1:4568
(endpointId=dzVzYjBoczJmNWQ3cGY4bmoxMz
What I am trying to do in Workflow B is resolve the artifacts created in
Workflow A and use them to run unit tests, and more! Is there a better
way to be doing this?
Thanks,
-Wes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.urbancode.com/pipermail/anthill-pro/attachments/20080519/1edaf0d0/attachment.htm
More information about the Anthill-pro
mailing list