1
0
Fork 0
mirror of https://github.com/arangodb/kube-arangodb.git synced 2024-12-14 11:57:37 +00:00

Wrapping in script

This commit is contained in:
Ewout Prangsma 2018-03-08 13:11:43 +01:00
parent 9c8632320d
commit 642f9bd3f3
No known key found for this signature in database
GPG key ID: 4DBAD380D93D0698

View file

@ -80,19 +80,22 @@ pipeline {
}
}
stage('Test') {
//steps {
steps {
script {
def configs = "{params.KUBECONFIGS}".split(",")
def testTasks = [:]
for (kubeconfig in configs) {
testTasks["${kubeconfig}"] = buildTestSteps(kubeconfig)
}
parallel testTasks
//}
}
}
}
}
post {
always {
script {
def configs = "{params.KUBECONFIGS}".split(",")
def cleanupTasks = [:]
for (kubeconfig in configs) {
@ -100,6 +103,7 @@ pipeline {
}
parallel cleanupTasks
}
}
failure {
notifySlack('FAILURE')
}