-
Notifications
You must be signed in to change notification settings - Fork 0
/
Jenkinsfile
27 lines (21 loc) · 928 Bytes
/
Jenkinsfile
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
def profiles = [
integration: [stage: "Integration", namespace: "rch-toeggeli-int", imageStream: "toeggeliservice", imageTag: "latest", buildConfig: "toeggeliservice", deploymentConfig: "toeggeliservice", "replicaCount": "1"],
]
def integration = profiles['integration']
stage('Build integration') {
node {
openshiftBuild(namespace: integration.namespace, buildConfig: integration.buildConfig, showBuildLogs: 'true', waitTime: '3000000')
}
}
stage('Deploy developemnt') {
node {
openshiftDeploy(namespace: integration.namespace,
deploymentConfig: integration.deploymentConfig,
waitTime: '300000')
}
}
stage('Verify developemnt deployment') {
node {
openshiftVerifyDeployment(namespace: integration.namespace, depCfg: integration.deploymentConfig, replicaCount: integration.replicaCount, verifyReplicaCount: 'true', waitTime: '300000')
}
}