I have a Jenkins job setup for my Selenium regression tests, and I would like to have Octopus trigger this job when the deployment to our QA environment is finished. I’ve been searching through the docs and I can’t seem to find any related information on this. If there is such documentation, could someone refer me to it? If not, could someone please guide me through the actions to take in order to achieve what I want?
PS. The way our infrastructure is built prevents me from running the regression suite with TeamCity before Octopus deploys the app. Hence the need for post-deploy triggers…
The easiest way to trigger a job in Jenkins is to use the Jenkins CLI, which is documented at https://jenkins.io/doc/book/managing/cli. By using the CLI from Octopus to trigger a build in Jenkins, you can trigger a build once an Octopus deployment has finished, and then Octopus can wait for the result.