forked from joshlk/jenkins-githubaction
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
44 lines (44 loc) · 1.24 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
41
42
43
44
name: "Jenkins-Action"
description: "Start Jenkins jobs and report back url and status of build"
author: "Josh Levy-Kramer"
inputs:
url:
description: "Jenkins URL including http/https protocol"
required: true
job_name:
description: "Jenkins job name to build"
required: true
username:
description: "Jenkins username"
required: false
api_token:
description: "Jenkins API token"
required: false
parameters:
description: 'Build parameters in JSON format e.g. `{"field1":"value1"}`'
required: false
cookies:
description: 'Cookies to include in HTTP requests in JSON format e.g. `{"field1":"value1"}`'
required: false
wait:
description: "Should the runner wait for the build to finish and provide ok status"
required: false
default: "True"
timeout:
description: "Timeout in seconds for build to complete"
required: false
default: "600"
start_timeout:
description: "Timeout in seconds for build to start"
required: false
default: "600"
interval:
description: "How frequently in seconds to query Jenkins for build status"
required: false
default: "5"
outputs:
build_url:
description: "Jenkins build URL"
runs:
using: "docker"
image: "Dockerfile"