File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -240,7 +240,13 @@ pipeline {
240
240
error('KIND_VERSION or KUBE_VERSION were null')
241
241
}
242
242
echo "Kind Image = ${_kind_image}"
243
+ if (env.JOB_NAME == 'wko-kind-k8sversion') {
244
+ currentBuild.description = "${GIT_BRANCH} ${KUBE_VERSION}"
245
+ } else {
246
+ currentBuild.description = "${GIT_BRANCH} ${MAVEN_PROFILE_NAME}"
247
+ }
243
248
}
249
+
244
250
}
245
251
}
246
252
432
438
}
433
439
steps {
434
440
script {
441
+
435
442
def res = 0
436
443
res = sh(script: '''
437
444
if [ -z "${IT_TEST}" ] && [ "${MAVEN_PROFILE_NAME}" = "integration-tests" ]; then
557
564
if ! kind delete cluster --name ${kind_name} --kubeconfig "${kubeconfig_file}"; then
558
565
echo "Failed to delete kind cluster ${kind_name}"
559
566
fi
567
+ sudo chown -R $(whoami) ${WORKSPACE}
560
568
'''
561
569
}
562
570
}
You can’t perform that action at this time.
0 commit comments