Skip to content

Cosmetics.

Cosmetics. #36

name: 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
runs-on: ubuntu-latest
steps:
- name: Trigger jenkins job
uses: anaegel/jenkins-githubaction@master
with:
url: ${{ secrets.JENKINS_URL }}
job_name: ug-build-pipeline
username: ${{ secrets.JENKINS_USER }}
api_token: ${{ secrets.JENKINS_TOKEN }}
timeout: "3600"