Script Sections |
Top Previous Next |
|
A Pipeline Runner script has a number of available sections, which if they are used must appear in the following order:
Setup Section: This section allows global variables to be assigned which will be available throughout the script.
Notification Section: This section allows you to define notifications to sent by SMS, Email, or both on success or failure of the pipeline processing.
Catch Section: This section allows you to define actions to be taken if an error occurs, for example rolling back changes that have already been made prior to the failure.
Finally Section: This section allows you to define actions to be taken after the script completes whether or not an error occurs, for example deleting temporary files.
User Sections: These sections allow you to define the processes that should be undertaken when the pipeline processes the script
Tasks Section: This section allows you to define Tasks that match User Sections in the script. If you define Tasks in this section Pipeline Runner Studio will display a dialog to allow you to select which tasks will or will not be run from the defined set of tasks.
Code Section: This section allows you to write C# code directly into the script and reference it from the script.
See Also: Setup Section Notification Section User Sections |