Skip to content

Merge pull request #96 from UG4/95-avoid-slicing #144

Merge pull request #96 from UG4/95-avoid-slicing

Merge pull request #96 from UG4/95-avoid-slicing #144

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 ]
jobs:
trigger-jenkins-job:
runs-on: ubuntu-latest
steps:
- id: triggerjenkinsjob
uses: mickeygoussetorg/trigger-jenkins-job@v1
with:
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