aloong-actions/Jenkins Job Trigger Plus

Trigger Jenkins job and wait for the result

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Jan 7, 2025
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: aloong-actions/jenkins-job-trigger@e4420ff3efb990508e42ec24d1b0ad1de1e2f16b # v1.0.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
jenkins-urlURL of the Jenkins serveryes
jenkins-userUser for accessing Jenkins. Store this in a secret for securityno
jenkins-patPersonal access token (PAT) for accessing Jenkins. Store this in a secret for securityno
insecuretrue/false, Allow insecure Jenkins server connections when using SSLnofalse
jobThe name of the Jenkins job to runyes
paramsThe parameters of the job in key=value format, can specify multiple or separate parameters with commas, e.g., foo=bar,baz=quxno
params-jsonThe parameters of the job in JSON format, e.g., {"foo":"bar","baz":"qux"}no
waittrue/false, Wait for the job to complete, and return the resultsnotrue
poll-timeHow often (duration) to poll the jenkins server for resultsno10s
max-attemptsMax count of polling for resultsno60

no outputs