[Anthill-pro] Please help with general Anthill use

Wes Bramhall WesB at widen.com
Fri Apr 25 14:49:02 CDT 2008


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


More information about the Anthill-pro mailing list