Curated articles, resources, tips and trends from the DevOps World.
Summary: This is a summary of an article originally published by the source. Read the full original article here →
Create A dynamic Jenkins cluster and perform previous task using the dynamic Jenkins cluster. Steps to proceed as:Step Creating the container image that’s has Linux and other basic configuration required to run Slave for Jenkins.
Now simply build a Docker image using Dockerfile using following command : For our requirement we need to tag this image in order to upload it on docker hub.
This job will simply create a new docker image dynamically for the application and copy the application code into that corresponding docker image push that image to the docker hub (Public repository)
In this job we are giving the labels that we have assign at the time of configure the cloud so that by using this labels Jenkins will know that they have to run this job on dynamic slave and start creating slave dynamically for running this job.
Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com