How to change the image that the slave uses for a jenkins pipeline

0 votes

Hi Guys,

I have configured Jenkins on top of Kubernetes. I am running one Jenkins pipeline to build a job. If I build a different image for the Jenkins pipeline to use. How can I tell the pipeline to grab that image?

Oct 22, 2020 in Jenkins by akhtar
• 38,230 points
893 views

1 answer to this question.

0 votes
Hi@akhtar,

You can specify the Docker images directly from your Jenkins pipeline. You need to change the image manually before you build your job. Jenkins pipeline works step by step. I think you can't change it dynamically.
answered Oct 22, 2020 by MD
• 95,440 points

Related Questions In Jenkins

+4 votes
7 answers

How to set the pipeline name and description for a Jenkinsfile?

You can rename pipeline jobs in jenkins ...READ MORE

answered Oct 11, 2018 in Jenkins by Hannah
• 18,570 points
35,131 views
0 votes
1 answer
0 votes
1 answer

how to create a job using jenkins for Sign the puppet certificate on master ?

Take a look at this  https://fullstack-puppet-docs.readthedoc ...READ MORE

answered May 29, 2020 in Jenkins by Sirajul
• 59,230 points
848 views
+1 vote
3 answers
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
3,498 views
+2 votes
1 answer
+5 votes
3 answers

How to trigger a Jenkins pipeline A in another Jenkins pipeline B?

You can run the following code, its ...READ MORE

answered Jul 5, 2018 in Jenkins by Sophie may
• 10,610 points
117,435 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP