How to retry a freestyle Jenkins build after a checkout error

0 votes
I’m trying to automate free style Jenkins job to retry the build after a checkout error without failing the build, is there any script to automate this process.
Dec 9, 2020 in DevOps & Agile by Rohan
• 120 points
1,106 views

1 answer to this question.

0 votes
Hi@Rohan,

I think you can use the post-build action. If the build failed, then rerun the job. If your requirement is different, then explain it a bit more.
answered Dec 9, 2020 by MD
• 95,460 points

Related Questions In DevOps & Agile

0 votes
1 answer

How to edit file after I shell to a docker container?

Since docker images are trimmed to bare minimum ...READ MORE

answered Sep 11, 2018 in DevOps & Agile by Damon Salvatore
• 5,980 points
3,728 views
0 votes
1 answer
0 votes
0 answers

How to generate a list of every external URL accessed during docker build?

Is there an easy method to create ...READ MORE

Mar 16, 2023 in DevOps & Agile by Edureka
• 12,690 points
335 views
+2 votes
2 answers

how to set different provisioning profiles for different targets using Xcode Build

For multiple targets, each task has to ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by ajs3033
• 7,300 points

edited Oct 16, 2018 by Kalgi 4,680 views
+1 vote
2 answers

How do I run Apache server from Docker without mapping to a location?

If you're seeing a 500 error, that's ...READ MORE

answered Oct 18, 2018 in DevOps & Agile by lina
• 8,220 points
2,136 views
0 votes
1 answer

How to set up a VM with KVM/qemu without VitualBox using Vagrant

Start the vagrant box using: vagrant up --provider=kvm But ...READ MORE

answered Apr 11, 2018 in DevOps & Agile by ajs3033
• 7,300 points
2,291 views
0 votes
1 answer

How to change state of TFS 2015 if build has warnings?

To access the TFS Build Definition can ...READ MORE

answered May 4, 2018 in DevOps & Agile by ajs3033
• 7,300 points
701 views
0 votes
1 answer

How to get remote access to a private docker-registry?

New client version refuses to work with ...READ MORE

answered Jul 31, 2018 in DevOps & Agile by Kalgi
• 52,360 points
2,338 views
0 votes
1 answer
+2 votes
1 answer

Error: You might need to start Docker for Windows. How do i start the daemon?

Hi, If you are running containers with Docker, ...READ MORE

answered May 19, 2020 in DevOps & Agile by MD
• 95,460 points
7,977 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