forked from akshaysharma096/jenkinsjob
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
33 lines (32 loc) · 880 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: 'jenkins-job-start'
description: 'Jenkins job'
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'