Description
Destroy an existing job jenkins given a name
Input Schema
| Property | Type | Description | Required |
|---|---|---|---|
| jobName | string | Name of jenkins item |
Output Schema
No output schema defined for this action.
Usage Examples
Enable a CI job for a newly imported repository
Enables a Jenkins job using repository parameters. Use this when your job is created or imported but starts in a disabled state.
steps:
- id: enable-jenkins-ci-job
action: jenkins:job:enable
input:
jobName: ${{ parameters.org }}/${{ parameters.repo }}-ciEnable a production deployment job in a foldered Jenkins hierarchy
Enables a nested Jenkins job in a folders structure. Use this for environment specific jobs that were disabled during provisioning.
steps:
- id: enable-prod-deploy-job
action: jenkins:job:enable
input:
jobName: teams/platform/orders-service/deploy-prod