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:
parent
92416ac8f4
commit
b2319762a2
1 changed files with 3 additions and 0 deletions
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue