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

Ignore errors in kubelet logs

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

View file

@ -102,7 +102,8 @@ def buildCleanupSteps(Map myParams, String kubeConfigRoot, String kubeconfig) {
"KUBECONFIG=${kubeConfigRoot}/${kubeconfig}",
]) {
sh "mkdir -p logs"
sh "kubectl logs -n ${env.DEPLOYMENTNAMESPACE} --selector=name=arango-deployment-operator > ./logs/deployment-${kubeconfig}.log"
sh returnStatus: true, script:"kubectl logs -n ${env.DEPLOYMENTNAMESPACE} --selector=name=arango-deployment-operator > ./logs/deployment-${kubeconfig}.log"
sh returnStatus: true, script:"kubectl logs -n kube-system --selector=name=arango-storage-operator > ./logs/storage-${kubeconfig}.log"
archive includes: 'logs/*'
sh "make cleanup-tests"
}