-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
71 lines (68 loc) · 2.33 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
name: 'Jenkins status alerts and reporting'
description: 'monitor Jenkins nodes and generate a markdown report for your inventory and alerts when nodes are offline'
inputs:
jenkins-domain:
description: 'The domain name of your Jenkins server without the protocol or trailing slash'
required: true
default: 'jenkins.example.com'
jenkins-username:
description: 'The username of the Jenkins user'
required: true
jenkins-token:
description: 'The API token of the Jenkins user'
required: true
database:
description: 'File that stores the state of the Jenkins Nodes'
required: true
github-token:
description: 'Token to access the repository'
required: false
report-tags-enabled:
description: 'Enable the use of tags in the report'
required: false
report-start-tag:
description: 'Start tag to be used in the report'
required: false
default: '<!-- JENKINS-REPORTING:START -->'
report-end-tag:
description: 'End tag to be used in the report'
required: false
default: '<!-- JENKINS-REPORTING:END -->'
issue-assignees:
description: 'List of assignees for the issue to be generated'
required: false
issue-labels:
description: 'List of labels for the issue to be generated'
required: false
generate-issue:
description: 'Automatically generate an issue with the discrepancies'
required: false
auto-close-issue:
description: 'Automatically close the issue when the agent is up again'
required: false
report:
description: 'File that stores the report of Jenkins nodes'
required: false
auto-commit:
description: 'Automatically commit the changes to the repository'
required: false
auto-push:
description: 'Automatically push the changes to the repository'
required: false
create-issues-for-new-offline-nodes:
description: 'Automatically generate an issue if the node is offline and has not been previously recorded in the database'
required: false
default: 'true'
disk-alert-level:
description: 'The percentage of disk usage that will trigger an alert'
required: false
outputs:
computers:
description: 'The list of Jenkins computers with all the details'
runs:
using: 'node16'
main: 'dist/index.js'
# https://actions-cool.github.io/github-action-branding/
branding:
icon: 'monitor'
color: 'green'