I have a Jenkins job that is designed to do the following:
- Create a project and deploy it to the test server
- Running tests
- If tests fail, roll back the server to a previous version
- If the tests are successful, update the version in our version control system.
Since we have one test server, we need to make sure that Jenkins only works with one version of this work at a time. Unfortunately, we cannot find a way to complete the task in the event of a failure and keep the upstream task running while the task is running downstream.
Is there an easy way to do this? Is there a better way?
jenkins
Chris B.
source share