Script Sections |
Top Previous Next |
A Pipeline Runner script has three sections:
Setup Section: This section allows global variables to be assigned which will be available
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 where 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 task will or will not be run from the defined 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 |