-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into arte-merge
- Loading branch information
Showing
6 changed files
with
22 additions
and
138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,24 @@ | ||
name: Trigger Jenkins CI | ||
|
||
# Controls when the workflow will run | ||
on: | ||
# Triggers the workflow on push or pull request events but only for the main branch | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
|
||
jobs: | ||
# This workflow contains a single job called "build" | ||
build: | ||
name: Build | ||
trigger-jenkins-job: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Trigger jenkins job | ||
uses: anaegel/jenkins-githubaction@master | ||
- id: triggerjenkinsjob | ||
uses: mickeygoussetorg/trigger-jenkins-job@v1 | ||
with: | ||
url: ${{ secrets.JENKINS_URL }} | ||
job_name: ug-build-pipeline | ||
username: ${{ secrets.JENKINS_USER }} | ||
api_token: ${{ secrets.JENKINS_TOKEN }} | ||
timeout: "3600" | ||
interval: "300" | ||
jenkins-server: ${{ secrets.JENKINS_URL }} # URL of the jenkins server. ex: http://myjenkins.acme.com:8080 | ||
jenkins-job: "ug-build-pipeline" # The name of the jenkins job to run | ||
jenkins-username: ${{ secrets.JENKINS_USER }} # user name for accessing jenkins | ||
jenkins-pat: ${{ secrets.JENKINS_TOKEN }} # personal Access token for accessing Jenkins | ||
poll-time: 90 # how often (seconds) to poll the jenkins server for results | ||
timeout-value: 3600 # How long (seconds) to poll before timing out the action | ||
verbose: true # true/false - turns on extra logging |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters