Hi,
Our customer is using TeamCity for CI and Octopus Deploy for deployment. Also we have Selenium based tests (in .Net platform) available which are configured to run from Jenkins build.
The requirement is to trigger or start Jenkins build after Octopus Deploy is completed with it’s deployment. The trigger should be automatic and happen once the deployment is completed.
After the testing in respective test environment, Jenkins build should pass the result to Octopus Deploy to mark whether the deployment is successful.
Can you please help to find out if there is a way to achieve the above integration?
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.