Building a CI/CD Pipeline. Part3 Nexus Ansible
Setup artifact manager tool, e.g. Nexus OSS, JFrox Artifactory free tier
Setup Ansible instance
Setup Jenkins “Publish over SSH” plugin to send JAR to Ansible server
(+0.5pts) Set Ansible playbook to create Docker image based on JAR and push image to DockerHub
(+0.5pts) Setup Jenkins-Nexus integration to send JAR to Nexus server. Modify Ansible playbook to create Docker image based on JAR grabbed from Nexus, modify playbook to send final Docker image to Nexus.
Add screenshot of JAR pushed to Nexus/Artifactory (if you made step 5) or Docker image pushed to DockerHub.
Jenkins-Artifactory integration: https://www.youtube.com/watch?v=k3_byI8Eql4