-
Notifications
You must be signed in to change notification settings - Fork 14
/
action.yml
33 lines (32 loc) · 886 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: 'Run Jenkins Job and get build result'
description: 'Triggers Jenkins Job and get build result'
author: 'Toptal'
inputs:
jenkins_url:
description: 'Jenkins domain URL'
jenkins_user:
description: 'Jenkins username'
jenkins_token:
description: 'Jenkins token generated by user'
job_name:
description: 'Jenkins job to triggered and follow up'
job_params:
description: 'Jenkins build job parameters'
required: false
job_timeout:
description: 'Jenkins job timeout period. Default 30 seconds'
required: false
default: '30'
async:
description: 'Set to true if you want to just trigger the job without waiting for it to finish'
required: false
default: false
outputs:
jenkins_job_url:
description: 'URL to the job details'
runs:
using: 'docker'
image: 'Dockerfile'
branding:
icon: 'check-circle'
color: 'green'