Currently, I have two jobs for two branches of SVN (stable and developed) created in Jenkins, in which one job compiles the workspace and the other a test suite. (So, there are only four Jenkins tasks.) The test suite task takes several hours (these are system tests for a rather large system), so I want to divide it into separate tasks. This will give me all sorts of advantages, such as feedback on which tests often fail, and the ability to run individual tests directly from the Jenkins interface.
How can I split test suite work? If I divided it into 10 different tasks, then I will get 10 jobs for each branch. Although this is not a problem in itself, if I add a system test, I need to add it to each branch, which seems tedious. In addition, if the details of a branch change, I must edit all the tasks that belong to it. And finally, what would be the best way to start these tasks?
I looked through the plugins, and the only thing I could find was the Configuration Cutting Plugin and the Bulk Builder Plugin. Although they help to edit and run several tasks, they do not solve the problem of “add test to several branches”.
source share