-
Notifications
You must be signed in to change notification settings - Fork 34
/
action.yml
36 lines (35 loc) · 934 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
34
35
36
name: 'Jenkins Job Trigger'
description: 'Trigger a Jenkins job'
branding:
icon: 'terminal'
color: 'green'
inputs:
url:
description: 'Jenkins full URL including http/https protocol'
required: true
user_name:
description: 'User name of Jenkins'
required: true
api_token:
description: 'Jenkins API token'
required: true
job_name:
description: 'Job name'
required: true
parameter:
description: 'Job parameter in JSON format. ex) {"param1":"value1"} '
required: false
headers:
description: 'Additional headers to include in the HTTP requests in JSON format. ex) {"param1":"value1"} '
required: false
wait:
description: 'Waiting for job completion or not'
required: false
default: "true"
timeout:
description: 'Timeout (seconds) for github action. Set 600s as default'
required: false
default: "600"
runs:
using: 'node12'
main: 'index.js'