Use this job to request workflow execution approval.
Refer to the Manage workflows for more information.
Input name | Data type | Required? | Description |
---|---|---|---|
|
String |
No |
A list of users whose participation in the workflow approval process is requested. The |
|
String |
Yes |
The value must be the path to the Manual approval custom job yaml file: |
|
String |
No |
When set to true, it prevents the user who started the workflow from participating in the approval. Default value is |
|
String |
Yes |
Use to add instructions for approvers. This text will appear:
|
|
String |
No |
Use to notify all users who have the execute approval permission on the workflow when no approvers are listed
by selecting Notify all eligible users. Default value is Notifications will be sent as follows:
|
|
Integer |
No |
The amount of time approvers have to respond to the approval request. The default value is |
In your YAML file, add:
workflow-approval-name:
timeout-minutes: 4320
delegates: cloudbees-io/manual-approval/custom-job.yml@v1
with:
approvers:
disallowLaunchByUser: false
instructions: "Enter instructive text for approvers here. "
Note
|
For more information |
This code is made available under the MIT license.
-
Learn more about using actions in CloudBees workflows.
-
Learn about the CloudBees platform.