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

Archive log files

This commit is contained in:
Ewout Prangsma 2018-04-05 09:09:43 +02:00
parent 92416ac8f4
commit b2319762a2
No known key found for this signature in database
GPG key ID: 4DBAD380D93D0698

View file

@ -101,6 +101,9 @@ def buildCleanupSteps(Map myParams, String kubeConfigRoot, String kubeconfig) {
"DOCKERNAMESPACE=${myParams.DOCKERNAMESPACE}", "DOCKERNAMESPACE=${myParams.DOCKERNAMESPACE}",
"KUBECONFIG=${kubeConfigRoot}/${kubeconfig}", "KUBECONFIG=${kubeConfigRoot}/${kubeconfig}",
]) { ]) {
sh "mkdir -p logs"
sh "kubectl logs -n ${env.DEPLOYMENTNAMESPACE} --selector=name=arango-deployment-operator > ./logs/deployment-${kubeconfig}.log"
archive includes: 'logs/*'
sh "make cleanup-tests" sh "make cleanup-tests"
} }
} }