Skip to content

Instantly share code, notes, and snippets.

@KyMidd
Created October 2, 2022 16:37
Show Gist options
  • Save KyMidd/4156a97e54742b9067c28e1d9679b1d5 to your computer and use it in GitHub Desktop.
Save KyMidd/4156a97e54742b9067c28e1d9679b1d5 to your computer and use it in GitHub Desktop.
runs:
using: "composite"
steps:
- id: jenkins-any-pr-validate
run: |
#Parameters
urlOfJenkinsServer="${{ inputs.jenkins-server }}"
pollTime=${{ inputs.poll-time }}
timeoutValue=${{ inputs.timeout-value }}
verbose=${{ inputs.verbose }}
userName=${{ inputs.jenkins-username }}
api_token=${{ inputs.jenkins-api-token }}
github_repository="${{ inputs.github_repository }}"
commit_sha="${{ inputs.commit_sha }}"
branch="${{ inputs.branch }}"
# More bash code here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment