Executing a General Workflow from a Pipeline in Jenkins
- Go to the main page and create a new pipeline (New Item > Pipeline) or use an existing one.
- Open the Pipeline Syntax.
- In the sample step field, select the execGenWkf: CDA Execute General Workflow step from the dropdown list.
- Do one of the following:
- Select the Use Centralized CDA Connection Parameters checkbox to authenticate with the centralized connection details . See: Configuring CDA Centralized Connection Details).
- Enter the connection details:
Server
Example:
http://192.000.000.00/cda
Full Username
Examples:
- 1000/USER/DEP
- AUTOMIC/1000/USER/DEP
Password
- Click Test connection to ensure that the connection succeeds.
- Once the connection has been checked, review or edit the other fields as follows:
Enter the name of an existing CDA Workflow.
Notes:
- This value can also contain variables. Variables must start with $.
- Archived Workflows are not supported.
- Select the execution start time:
- Now
- At: if selected, you have to specify the planned start time (yyyy-MM-dd HH:mm). Date-time values must be in the future and in UTC format.
Note: This field can also contain variables (for example: Build environment variable). Variables must start with $. For example: $date_time.
Queue: if selected, specify the queue (the container for Workflow executions) where you want to add the execution
Notes:
- This value can also contain variables. Variables must start with $.
- Inactive Queues are not supported.
- Manual Confirmation: select if manual confirmation is required for the execution.
- User/Group: if manual confirmation is needed, you have to define either a user or a group to confirm the execution.
Notes:
- Inactive users/ user groups are not supported.
- This value can also contain variables. Variables must start with $.
- Dynamic Properties: optionally, click Check for Dynamic Properties to know whether dynamic properties for the selected Workflow are required or not.
Click Set Dynamic Property and manually enter the name and value of the dynamic properties to apply them to the execution Workflow and override the existing ones.
Example: $Dynamic_Key = $Value