I figured it out. I used the Maven exec plugin and added it as a build step to a project that is continuously tracked.
Teamcity Build Trigger to call a Main method
Question
I'm new to using Teamcity and I would like to do the following on an existing project (Project A) that is built successfully after each commit:
- Once the project is built successfully, I would like to trigger build another project (Project B) by checking out the source code from SVN
- Once this Project B is built, I want to call a class that contains the main method
We use Maven for all our builds. Any ideas?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow