Skip to content

Create jenkins_trigger.yml #1

Create jenkins_trigger.yml

Create jenkins_trigger.yml #1

# This is a basic workflow that is manually triggered
name: Jenkins Job Trigger
# Controls when the action will run. Workflow runs when manually triggered using the UI
# or API.
on: [push]
# 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 "Jenkins-Job-Trigger"
Jenkins-Job-Trigger:
# The type of runner that the job will run on
runs-on: debian-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Jenkins Job Trigger
# You may pin to the exact commit or the version.
# uses: estherk0/jenkins-trigger@70ee28b6020e5894782308052ae4bba253256823
uses: estherk0/[email protected]
with:
# Jenkins full URL including http/https protocol
url: https://jenkins-jakku.mbt.lab.etn.com
# User name of Jenkins
user_name: jenkins
# Jenkins API token
api_token: 1119620cf6f6641ee222f8ec9dc2ecde07
# Job name
job_name: IPM2/Debian/buster/42ITy/fty-nut/release%2FIPM-2.8.1
# Job parameter in JSON format. ex) {"param1":"value1"}
#parameter: # optional
# Waiting for job completion or not
#wait: # optional, default is true
# Timeout (seconds) for github action. Set 600s as default
#timeout: # optional, default is 600