<p>If the job is a jenkins pipeline, open the failed build and select the <code>Replay</code> option. Otherwise select the <code>Rebuild</code> option.</p>

<p><em>Sample Replay Option</em>:
<a href="https://i.sstatic.net/MkwHB.png" rel="noreferrer"><img src="https://i.sstatic.net/MkwHB.png" alt="Replay Option for Jenkins pipeline job"></a></p>

<p><em>Sample Rebuild Option</em>:
<a href="https://i.sstatic.net/G6hco.png" rel="noreferrer"><img src="https://i.sstatic.net/G6hco.png" alt="Rebuild Option for Jenkins non-pipeline jobs"></a></p>

CC BY-SA 4.0
2021-03-11T23:07:56.373Z
Note that this seems to imply the use of the Rebuilder plugin (https://plugins.jenkins.io/rebuild/)
sfitts
CC BY-SA 4.0
2019-03-12T08:06:19.653Z
2019-03-12T12:05:49.457Z
2019-03-12T12:05:49.457Z
KatariaA
<p>Some old builds are failed in my jenkins job and I need to re-run them again. How to do that?</p>

CC BY-SA 4.0
2019-03-12T04:59:05.283Z
What exactly do you mean by republish? Do you mean, re-run the job?
Bruce Becker
CC BY-SA 4.0
2019-03-12T07:26:22.330Z
yes  i need to re-run the job
Naik
<jenkins>
In jenkins, how to re-run old builds of a job?
Naik
# In jenkins, how to re-run old builds of a job?

(Asked by: username_0 on 2019-03-12)

Some old builds are failed in my jenkins job and I need to re-run them again. How to do that?

**Tags:** jenkins

> **Comments:**
> **username_1**: What exactly do you mean by republish? Do you mean, re-run the job?  
> **username_0**: yes  i need to re-run the job  

---

## 1 answers

### Answer by username_2 on 2019-03-12. Score: 7

If the job is a jenkins pipeline, open the failed build and select the `Replay` option. Otherwise select the `Rebuild` option.

*Sample Replay Option*:
[![Replay Option for Jenkins pipeline job](https://i.sstatic.net/MkwHB.png)](https://i.sstatic.net/MkwHB.png)

*Sample Rebuild Option*:
[![Rebuild Option for Jenkins non-pipeline jobs](https://i.sstatic.net/G6hco.png)](https://i.sstatic.net/G6hco.png)

> **Comments:**
> **username_3**: Note that this seems to imply the use of the Rebuilder plugin (https://plugins.jenkins.io/rebuild/)  

---

