How to get a given build counter from another build configuration ?


I would like to know, if it's possible to get the build counter of a given build configuration.
And use it in another build configuration.

I want to do it, because I have two build configurations :
- The first which runs a Maven2 goal.
- The second one, triggered by the first one, launches a cleartool command to make a baseline if the Maven2 goal is succesful.

So I want my baseline to be named with the counter of the first build configuration.

If you know how to do it, you're welcome!



1 comment
Comment actions Permalink


maybe you can use the builtin labeling feature.
If this does not work, there is a trick: Pass the information in a small text file artifact from the first build plan to the second one.


Edited by: Alex Schwartz on Sep 15, 2008 11:55 PM


Please sign in to leave a comment.