Skip to content

Commit b231976

Browse files
committed
Archive log files
1 parent 92416ac commit b231976

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Jenkinsfile.groovy

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@ def buildCleanupSteps(Map myParams, String kubeConfigRoot, String kubeconfig) {
101101
"DOCKERNAMESPACE=${myParams.DOCKERNAMESPACE}",
102102
"KUBECONFIG=${kubeConfigRoot}/${kubeconfig}",
103103
]) {
104+
sh "mkdir -p logs"
105+
sh "kubectl logs -n ${env.DEPLOYMENTNAMESPACE} --selector=name=arango-deployment-operator > ./logs/deployment-${kubeconfig}.log"
106+
archive includes: 'logs/*'
104107
sh "make cleanup-tests"
105108
}
106109
}

0 commit comments

Comments
 (0)