This repository has been archived by the owner on Sep 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 102
/
Copy pathConfigConstants.groovy
155 lines (136 loc) · 7.45 KB
/
ConfigConstants.groovy
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
/*-
* #%L
* wcm.io
* %%
* Copyright (C) 2017 wcm.io DevOps
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* #L%
*/
package io.wcm.devops.jenkins.pipeline.utils
/**
* Constants for configuration values. Used for passing configuration options into the library steps
*/
class ConfigConstants {
public static final String ANSI_COLOR = "ansiColor"
public static final String ANSI_COLOR_XTERM = "xterm"
public static final String ANSI_COLOR_GNOME_TERMINAL = "gnome-terminal"
public static final String ANSI_COLOR_VGA = "vga"
public static final String ANSI_COLOR_CSS = "css"
public static final String ANSIBLE = "ansible"
public static final String ANSIBLE_COLORIZED = "colorized"
public static final String ANSIBLE_CREDENTIALS_ID = "credentialsId"
public static final String ANSIBLE_EXTRA_PARAMETERS = "extraParameters"
public static final String ANSIBLE_EXTRA_VARS = "extraVars"
public static final String ANSIBLE_FORKS = "forks"
public static final String ANSIBLE_GALAXY_ROLE_FILE = "galaxyRoleFile"
public static final String ANSIBLE_GALAXY_FORCE = "galaxyForce"
public static final String ANSIBLE_INJECT_PARAMS = "injectParams"
public static final String ANSIBLE_INSTALLATION = "installation"
public static final String ANSIBLE_INVENTORY = "inventory"
public static final String ANSIBLE_LIMIT = "limit"
public static final String ANSIBLE_SKIPPED_TAGS = "skippedTags"
public static final String ANSIBLE_START_AT_TASK = "startAtTask"
public static final String ANSIBLE_SUDO = "sudo"
public static final String ANSIBLE_SUDO_USER = "sudoUser"
public static final String ANSIBLE_PLAYBOOK = "playbook"
public static final String ANSIBLE_TAGS = "tags"
public static final String ANSIBLE_VAULT_CREDENTIALS_ID = "vaultCredentialsId"
public static final String LOGLEVEL = "logLevel"
public static final String MAP_MERGE_MODE = "mapMergeMode"
public static final String MAVEN = "maven"
public static final String MAVEN_ARGUMENTS = "arguments"
public static final String MAVEN_DEFINES = "defines"
public static final String MAVEN_EXECUTABLE = "executable"
public static final String MAVEN_GLOBAL_SETTINGS = "globalSettings"
public static final String MAVEN_GOALS = "goals"
public static final String MAVEN_INJECT_PARAMS = "injectParams"
public static final String MAVEN_POM = "pom"
public static final String MAVEN_PROFILES = "profiles"
public static final String MAVEN_SETTINGS = "settings"
public static final String MAVEN_RETURN_STDOUT = "returnStdout"
public static final String MAVEN_RETURN_STATUS = "returnStatus"
public static final String MAVEN_PURGE_SNAPSHOTS = "purgeSnapShots"
public static final String MAVEN_PURGE_SNAPSHOTS_REPO_PATH = "repoPath"
public static final String MAVEN_PURGE_SNAPSHOTS_DRY_RUN = "dryRun"
public static final String MAVEN_PURGE_SNAPSHOTS_LOG_LEVEL = "logLevel"
public static final String NOTIFY = "notify"
public static final String NOTIFY_ATTACH_LOG = "attachLog"
public static final String NOTIFY_ATTACHMENTS_PATTERN = "attachmentsPattern"
public static final String NOTIFY_BODY = "body"
public static final String NOTIFY_COMPRESS_LOG = "compressLog"
public static final String NOTIFY_ENABLED = "enabled"
public static final String NOTIFY_MATTERMOST = "notifyMattermost"
public static final String NOTIFY_MATTERMOST_ENABLED = "enabled"
public static final String NOTIFY_MATTERMOST_CHANNEL = "channel"
public static final String NOTIFY_MATTERMOST_COLOR = "color"
public static final String NOTIFY_MATTERMOST_ENDPOINT = "endpoint"
public static final String NOTIFY_MATTERMOST_ENDPOINT_CREDENTIAL_ID = "endpointCredentialId"
public static final String NOTIFY_MATTERMOST_FAIL_ON_ERROR = "failOnError"
public static final String NOTIFY_MATTERMOST_ICON = "icon"
public static final String NOTIFY_MATTERMOST_MESSAGE = "message"
public static final String NOTIFY_MATTERMOST_TEXT = "text"
public static final String NOTIFY_MIME_TYPE = "mimeType"
public static final String NOTIFY_MQTT = "notifyMqtt"
public static final String NOTIFY_MQTT_ENABLED = "enabled"
public static final String NOTIFY_MQTT_BROKER = "broker"
public static final String NOTIFY_MQTT_CREDENTIALS_ID = "credentialsId"
public static final String NOTIFY_MQTT_TOPIC = "topic"
public static final String NOTIFY_MQTT_MESSAGE = "message"
public static final String NOTIFY_MQTT_QOS = "qos"
public static final String NOTIFY_MQTT_RETAIN = "retain"
public static final String NOTIFY_ON_SUCCESS = "onSuccess"
public static final String NOTIFY_ON_FAILURE = "onFailure"
public static final String NOTIFY_ON_STILL_FAILING = "onStillFailing"
public static final String NOTIFY_ON_FIXED = "onFixed"
public static final String NOTIFY_ON_UNSTABLE = "onUnstable"
public static final String NOTIFY_ON_STILL_UNSTABLE = "onStillUnstable"
public static final String NOTIFY_ON_ABORT = "onAbort"
public static final String NOTIFY_RECIPIENT_PROVIDERS = "recipientProviders"
public static final String NOTIFY_REPLY_TO = "replyTo"
public static final String NOTIFY_SUBJECT = "subject"
public static final String NOTIFY_TO = "to"
public static final String NOTIFY_TEAMS = "notifyTeams"
public static final String NOTIFY_TEAMS_ENABLED = "enabled"
public static final String NOTIFY_TEAMS_MESSAGE = "message"
public static final String NOTIFY_TEAMS_WEBHOOK_URL = "webhookUrl"
public static final String NOTIFY_TEAMS_WEBHOOK_URL_CREDENTIAL_ID = "webhookUrlCredentialId"
public static final String NOTIFY_TEAMS_COLOR = "color"
public static final String NPM = "NPM"
public static final String NPM_ARGUMENTS = "arguments"
public static final String NPM_EXECUTABLE = "executable"
public static final String SCM = "scm"
public static final String SCM_BRANCHES = "branches"
public static final String SCM_CREDENTIALS_ID = "credentialsId"
public static final String SCM_DO_GENERATE_SUBMODULE_CONFIGURATION = "doGenerateSubmoduleConfigurations"
public static final String SCM_EXTENSIONS = "extensions"
public static final String SCM_SUBMODULE_CONFIG = "submoduleCfg"
public static final String SCM_URL = "url"
public static final String SCM_USER_REMOTE_CONFIG = "userRemoteConfig"
public static final String SCM_USER_REMOTE_CONFIGS = "userRemoteConfigs"
public static final String SCM_USE_SCM_VAR = "useScmVar"
public static final String SCP = "scp"
public static final String SCP_ARGUMENTS = "arguments"
public static final String SCP_DESTINATION = "destination"
public static final String SCP_EXECUTABLE = "executable"
public static final String SCP_HOST = "host"
public static final String SCP_HOST_KEY_CHECK = "hostKeyCheck"
public static final String SCP_PORT = "port"
public static final String SCP_RECURSIVE = "recursive"
public static final String SCP_SOURCE = "source"
public static final String SCP_USER = "user"
public static final String TOOLS = "tools"
public static final String TOOL_ENVVAR = "envVar"
public static final String TOOL_NAME = "name"
public static final String TOOL_TYPE = "type"
}