6

If you want to re-run a Jenkins job, you can click the Rebuild button which sometimes appears as the Replay button.

What is the difference Rebuilding a job versus Replaying it?

Why is it that some jobs display Replay while others display Rebuild?

6

Rebuild, using the Rebuilder plugin allows a completed job to be re-executed while allowing you to change the parameters, assuming your job is parameterized.

Replay does something similar, except it doesn't show you parameters. Instead, it shows the pipeline code directly. This is helpful when wanting to test changes iteratively as you can click Replay, change one or two lines of code, then let it execute. The job will run using the same parameters as it did the first time it ran/completed.

1
  • This only answers half the question. Why is rebuild/retrigger not an option sometimes? – Michael May 4 at 17:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.