Job-precondition scripts are used to determine whether a job can run.
A typical precondition is to require that all ancestor jobs are complete before the job
runs.
-
On the left navigational panel, click in the Script Library area.
-
Click Create New Script.
-
In the New Job Precondition Script window, type a name for the script in
the Name field.
-
Enter the script in the Script box.
The script can be any JavaScriptâ„¢ code that results in a true or false value.
-
Click Save.
To review or edit an existing script, select the script. For information about scripting,
see the Build Scripting page: click .