-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathJenkinsfile
More file actions
27 lines (21 loc) · 946 Bytes
/
Jenkinsfile
File metadata and controls
27 lines (21 loc) · 946 Bytes
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
@Library('pipeline') _
jobTemplate {
APP_NAME = 'scheduling'
DEPLOY_ON_K8S = true
publishDockerImage = true
ANSIBLE_DEPLOYMENT = false
publishBuildArtifact = true
JDK_VERSION = 'Java 11'
NODE_LABEL = 'slave_java'
projectFlow = ['language': 'java',
'testCommands': 'mvn clean install package -U']
kubernetesClusterMap = [dev : "dev.nextiva.io",
qa : "qa.nextiva.io",
production: "prod.nextiva.io"]
healthCheckMap = [dev : ["https://scheduling.dev.nextiva.io/health"],
qa : ["https://scheduling.qa.nextiva.io/health"],
production: ["https://scheduling.prod.nextiva.io/health"]]
branchPermissionsMap = [dev : ["authenticated"],
qa : ["authenticated"],
production: ["authenticated"]]
}