-
Notifications
You must be signed in to change notification settings - Fork 14
/
action.yml
40 lines (39 loc) · 1.07 KB
/
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
34
35
36
37
38
39
40
name: 'Run Jenkins Job and get build result'
description: 'Triggers Jenkins Job and get build result'
author: 'Toptal'
inputs:
jenkins_url:
required: true
description: 'Jenkins domain URL'
jenkins_user:
required: true
description: 'Jenkins username'
jenkins_token:
required: true
description: 'Jenkins API token that belongs to jenkins_user'
job_name:
required: true
description: 'Jenkins job to triggered and follow up'
job_params:
description: 'Jenkins build job parameters, encoded in JSON'
required: false
job_timeout:
description: 'Jenkins job timeout period. Default 30 seconds'
required: false
default: '30'
proxy:
required: false
description: 'Proxy url, which includes username and password'
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'