You can restart a job if it fails. Restarting starts a new run under the same tag. It continues from the point where it failed.
To restart a job, click the job tag in the list of builds on the tab. The system displays information about the build, and includes a
Restart Job button near the top of the panel.
- Click Restart Job.
The Restart page displays.
- Select options. Set the Sync Commands property if you want the system to receive updates to the commands in its steps from the project record. If you do not set it, the commands are entered in the same manner as when the job initiated.
- Click the Restart button on the Restart page.
The following differences are evident when comparing a job restart to a new job:
- It uses the same tag number as the failed run, and replaces the failed run in the Completed list.
- By default, it initiates from the failed step, and does not repeat any of the previous run steps. However, you can choose your run steps when the job restarts.
- By default, the system supplies the same environment variable values that you supplied on the previous run. However, you can change these before restarting the job.
- The system evaluates the success of the job based only on the steps it runs during the restarted job. Failures in the prior run do not affect the status of the restarted job.
For information about job restarts with adaptor link steps, see About adaptor links.