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

Fixed syntax

This commit is contained in:
Ewout Prangsma 2018-03-08 13:08:47 +01:00
parent 857c0753e2
commit cfa7bc760c
No known key found for this signature in database
GPG key ID: 4DBAD380D93D0698

View file

@ -82,7 +82,7 @@ pipeline {
stage('Test') {
steps {
def configs = "{params.KUBECONFIGS}".split(",")
def testTasks[:]
def testTasks = [:]
for (kubeconfig in configs) {
testTasks["${kubeconfig}"] = buildTestSteps(kubeconfig)
}
@ -94,7 +94,7 @@ pipeline {
post {
always {
def configs = "{params.KUBECONFIGS}".split(",")
def cleanupTasks[:]
def cleanupTasks = [:]
for (kubeconfig in configs) {
cleanupTasks["${kubeconfig}"] = buildCleanupSteps(kubeconfig)
}