Skip to content

Commit 0d945b6

Browse files
Create jenkins_trigger.yml
1 parent b5d3db8 commit 0d945b6

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/jenkins_trigger.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# This is a basic workflow that is manually triggered
2+
3+
name: Jenkins Job Trigger
4+
5+
# Controls when the action will run. Workflow runs when manually triggered using the UI
6+
# or API.
7+
on: [push]
8+
9+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
10+
jobs:
11+
# This workflow contains a single job called "Jenkins-Job-Trigger"
12+
Jenkins-Job-Trigger:
13+
# The type of runner that the job will run on
14+
runs-on: debian-latest
15+
16+
# Steps represent a sequence of tasks that will be executed as part of the job
17+
steps:
18+
- name: Jenkins Job Trigger
19+
# You may pin to the exact commit or the version.
20+
# uses: estherk0/jenkins-trigger@70ee28b6020e5894782308052ae4bba253256823
21+
uses: estherk0/[email protected]
22+
with:
23+
# Jenkins full URL including http/https protocol
24+
url: https://jenkins-jakku.mbt.lab.etn.com
25+
# User name of Jenkins
26+
user_name: jenkins
27+
# Jenkins API token
28+
api_token: 1119620cf6f6641ee222f8ec9dc2ecde07
29+
# Job name
30+
job_name: IPM2/Debian/buster/42ITy/fty-nut/release%2FIPM-2.8.1
31+
# Job parameter in JSON format. ex) {"param1":"value1"}
32+
#parameter: # optional
33+
# Waiting for job completion or not
34+
#wait: # optional, default is true
35+
# Timeout (seconds) for github action. Set 600s as default
36+
#timeout: # optional, default is 600
37+

0 commit comments

Comments
 (0)