[Anthill-pro] Please help with general Anthill use
Wes Bramhall
WesB at widen.com
Fri Apr 25 15:26:34 CDT 2008
Yay! I thought it would be that easy, I just couldn't find it. I blame
Friday and the overly large bacon cheeseburger I ate for lunch.
Thanks Ryan!
-Wes
-----Original Message-----
From: anthill-pro-bounces at lists.urbancode.com
[mailto:anthill-pro-bounces at lists.urbancode.com] On Behalf Of Ryan Smith
Sent: Friday, April 25, 2008 3:10 PM
To: AnthillPro user and support list.
Subject: Re: [Anthill-pro] Please help with general Anthill use
Wes,
You can add a Run Another Workflow step to your build job that runs if
the build succeeds and start the test workflow. On the test workflow you
can do the same to run the deploy workflow.
Ryan Smith
Wes Bramhall wrote:
> Just when I thought I understood what I was doing and how everything
was
> going to work, I suddenly find myself totally unsure of how I'm going
> about this. Here is what I want to do.
>
> I have an SVN repository set up to trigger an originating workflow on
> post-commit. I want this workflow to compile the code and create two
> artifact sets, "Source Artifacts" and "Test Artifacts," representing
our
> source code and our unit test code. I then would like to run a unit
> tests workflow using these artifacts. I then would like to run a
> war/deploy workflow if the unit tests pass. Separately, I need to run
a
> deployment catalog workflow that will use the source artifacts as
well.
>
> I set up a project with the a life-cycle model with the two artifact
> sets. The project has an originating workflow that runs the compile
and
> delivers the artifact sets. Where I'm stuck is I created a
> non-originating workflow to run the unit tests using the artifact
sets,
> but I don't see how to make the unit test workflow dependent on the
> compile workflow.
>
> Did I approach this backwards? By that I mean should the war/deploy
task
> would be the one kicked off by the repository trigger and it would
> depend on the unit test which would depend on the compile? If that is
> the case, how do I also have the deployment catalog workflow run,
since
> all it relies on is the compile?
>
> Mostly, I just want to run all these work flows on a single checkout
of
> the code, but not as one monolithic job, as it's very hard to notify
> developers of what exactly went wrong. With each step separated out, I
> can more easily send appropriate emails.
>
> I'm sorry if this is confusing, but I've hit a wall and could use a
> little guidance.
>
> 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
===========================================================
_______________________________________________
Anthill-pro mailing list
Anthill-pro at lists.urbancode.com
http://lists.urbancode.com/mailman/listinfo/anthill-pro
More information about the Anthill-pro
mailing list