shihyuho/Jenkins Job Trigger in Go
Trigger Jenkins job and wait for the result
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| jenkins-url | URL of the Jenkins server | yes | — |
| jenkins-user | User for accessing Jenkins. Store this in a secret for security | no | — |
| jenkins-pat | Personal access token (PAT) for accessing Jenkins. Store this in a secret for security | no | — |
| insecure | true/false, Allow insecure Jenkins server connections when using SSL | no | false |
| job | The name of the Jenkins job to run | yes | — |
| params | The parameters of the job in key=value format, can specify multiple or separate parameters with commas, e.g., foo=bar,baz=qux | no | — |
| params-json | The parameters of the job in JSON format, e.g., {"foo":"bar","baz":"qux"} | no | — |
| wait | true/false, Wait for the job to complete, and return the results | no | true |
| poll-time | How often (duration) to poll the jenkins server for results | no | 10s |
| max-attempts | Max count of polling for results | no | 60 |
| job-folders | The folder paths of the job, can specify multiple or separate parameters with slashes, e.g., foo/bar | no | — |
Outputs
no outputs