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 system displays
a Restart page.
- Select options. Set the Sync Commands property
if you want the system to get any updates to the commands in its steps
from the project record; if you do not set it, the commands are run
exactly as they were when the job was originally started.
- Click the Restart page's Restart button.
A restarted job differs from a new job in the following ways:
- It uses the same tag number as the failed run, and replaces the
failed run in the Completed list.
- By default, it starts from the failed step, and does not repeat
any of the steps that passed in the previous run. However, you can
choose which steps actually run when you restart the job.
- 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 the restart of jobs that have adaptor link
steps, see About adaptor links.