I am pretty new to TC and so this might be trivial, however I was unable to find the answer as of now.
I have two builds, first of which is a library, that on each build as the very first step updates its own version number (in the POM file). Next one is a demo application using this library. I'd like—upon library successful build—to start the demo app build, pass the new version number to it and use it in some files in the demo app. The library build success cannot of course be dependent on the demo app build success.
I believe I can do the first step with the Finish Build Trigger on the library build and the last I suppose can be done with File Content Replacer, however I cannot find out how to pass the library new version number from the trigger to the second build. Is there a way to do so?