[Anthill-pro] Running a non-originating workflow
Ryan Smith
rws at urbancode.com
Tue May 20 08:35:34 CDT 2008
Job B needs a Set Working Directory step before you get the artifacts.
Ryan Smith
Wes Bramhall wrote:
> 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.perform(ShellScriptBuildStep.java:48)
>
>
> at
> com.urbancode.anthill3.services.jobs.StepExecutor.execute(StepExecutor.java:279)
>
>
> at
> com.urbancode.anthill3.services.jobs.StepExecutor.execute(StepExecutor.java:352)
>
>
> at
> com.urbancode.anthill3.services.jobs.SimpleAgentJobDelegate.perform(SimpleAgentJobDelegate.java:220)
>
>
> at com.urbancode.anthill3.services.jobs.Job.run(Job.java:153)
>
> at
> com.urbancode.commons.util.ThreadPool$WorkerThread.run(ThreadPool.java:208)
>
> 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
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Anthill-pro mailing list
> Anthill-pro at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill-pro
--
===========================================================
Ryan Smith. 2044 Euclid Ave., Suite 600
Developer Cleveland, Ohio 44115
Urbancode, Inc.
email: rws at urbancode.com
web: www.urbancode.com phone: 216-858-9000
web: www.anthillpro.com fax: 216-858-9602
===========================================================
More information about the Anthill-pro
mailing list