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 8, 2020 in DevOps & Agile by Rohan
• 120 points
70 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,200 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
2,101 views
0 votes
1 answer
+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 26, 2018 in DevOps & Agile by ajs3033
• 7,280 points

edited Oct 16, 2018 by Kalgi 2,125 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
1,009 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,280 points
934 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,280 points
234 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,350 points
838 views
0 votes
1 answer

How to a run deployed app in Docker for Windows?

To deploy an ASP.NET web application to ...READ MORE

answered Aug 29, 2018 in DevOps & Agile by Tyrion anex
• 8,660 points
290 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,200 points
5,521 views