Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Notification step sends an custom email notification to the user, group, or email address configured on the step.  The email is sent using the configured mail server on the Administration - System Settings menu.

Image RemovedImage Added


Field

Description

Step Name

The name of the step.

Description

An optional description for the step.

Notification Type

Identifies the type of recipient(s) to notify - FlexDeploy User, FlexDeploy Group, or an arbitrary Email address.

RecipientsThe recipient of the specified Notification Type
Pipeline RolesSelects one or more roles from the pipeline definition to notify in case of error.  Default role members are defined on the pipeline, and optional overridden for each release.
SubjectThe subject line for the email notification.  Optionally, use a Groovy expression to make this field dynamic based on some contextual value (e.g. a property defined on the pipeline, and specified on the release).
Message

The body for the email notification.  Optionally, use a Groovy expression to make this field dynamic based on some contextual value (e.g. a property defined on the pipeline, and specified on the release).

Following methods were added as part of 5.0.0.2.

Code Block
languagegroovy
themeEclipse
titleBody to contain details on individual Project deployment status
"<br/>" + 
"<b>Deployed Projects</b> : " + FD_Release.getSnapshotDeployedProjectsAsString() + "<br/>" + 
"<b>Failed Projects</b> : " + FD_Release.getSnapshotFailedProjectsAsString() + "<br/>" + 
"<b>Skipped Projects</b> : " + FD_Release.getSnapshotSkippedProjectsAsString() + "<br/>" + 
"<b>Not Attempted Projects</b> : " + FD_Release.getSnapshotNotAttemptedProjectsAsString()


Precondition

An optional Groovy script which determines whether the gate or step is applicable during execution.  The script has access to variables and methods listed in the expression Image Modified drop-down.  The script must return true if the gate/step is applicable, or false otherwise.  If no script is provided, the default is to return true (applicable).

ContinueIf checked, any failure will be ignored, and the pipeline execution will continue.
Notify
Release ManagersIf checked, an email notification will be sent to the release managers (configured on the release) on failure.
Pipeline RoleSelects one or more roles from the pipeline definition to notify in case of error.  Default role members are defined on the pipeline, and optional overridden for each release.

Script Variables

Include Page
Pipeline Groovy Variables and Methods
Pipeline Groovy Variables and Methods