Registering the Octopus tool in Tool Registry
Login tohttps://portal.opsera.io -> Tool Registry -> Click “+New Tool” Button
Enter a name and select “Octopus Deploy” as Tool Identifier
Click “Create” button for the tool to be registered
Enter connection details - URL, ID and password and save
“Test Connection” to be successful to ensue the credentials are valid
Pipeline setup and configuration:
The pipeline requires the following steps:
Jenkins Build - Jenkins tool
Docker Push - Azure ACR Push tool
Octopus Deploy - Octopus Deploy tool
Begin with the Jenkins Build step. The prerequisite to this step is having a configured Jenkins tool with a build Job and an SCM Account.
In Step Setup, set a name for the tool and select Jenkins as tool. Save and select the gear icon to enter Step Configuration. Select the following values:
2. Click Create Job and Save.
Continue with the Docker Push step.
3. Create a new step in the pipeline workflow and in Step Setup set a name and select Azure ACR Push as the tool. The prerequisite to this step is having a configured Jenkins tool with a push Job and a configured Azure tool.
4. Click the gear icon to open Step Configuration and enter the following values:
5. Click Save.
Continue with the Octopus Deploy step.
6. Create a new step in the pipeline workflow and in Step Setup set a name and select Octopus Deploy as the tool. The prerequisite to this step is having a configured Octopus Tool.
7. Set the following values:
8. Click Save.