Рет қаралды 42,398
www.coachdevop...
Create Jenkins pipeline for the following:
- Automating builds
- Automating Docker image creation
- Automating Docker image upload into DockerHub
- Automating Docker container provisioning
Bitbucket URL is - bitbucket.org/...
Pre-requisites:
1. Jenkins is up and running
2. Docker installed on Jenkins instance and configured.
3. Docker plug-in installed in Jenkins
4. user account setup in cloud.docker.com
5. port 8096 is opened up in firewall rules.
Step #1 - Create Credentials for Docker Hub
Step # 2 - Create a pipeline in Jenkins, name can be anything
Step # 3 - Write the pipeline code
Step # 4 - Click on Build - Build the pipeline
Steps # 5 - Access Python App