forked from cyberark/kubernetes-conjur-deploy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJenkinsfile
44 lines (40 loc) · 877 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/usr/bin/env groovy
pipeline {
agent { label 'executor-v2' }
options {
timestamps()
buildDiscarder(logRotator(numToKeepStr: '30'))
}
stages {
stage('Run Scripts') {
parallel {
stage('Test v4 on K8S 1.7 in GKE') {
steps {
sh 'sleep 15' // sleep 15s to avoid script collisions
sh 'summon ./test.sh gke 4'
}
}
stage('Test v5 on K8S 1.7 in GKE') {
steps {
sh 'summon ./test.sh gke 5'
}
}
/*
stage('Test on OpenShift 3.7 in AWS') {
steps {
sh 'summon -e openshift37 ./test.sh openshift37'
}
}
*/
}
post { always {
archiveArtifacts artifacts: 'output/*'
}}
}
}
post {
always {
cleanupAndNotify(currentBuild.currentResult)
}
}
}