Skip to content

Commit 00bde59

Browse files
committed
Ignore errors in kubelet logs
1 parent b231976 commit 00bde59

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Jenkinsfile.groovy

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ def buildCleanupSteps(Map myParams, String kubeConfigRoot, String kubeconfig) {
102102
"KUBECONFIG=${kubeConfigRoot}/${kubeconfig}",
103103
]) {
104104
sh "mkdir -p logs"
105-
sh "kubectl logs -n ${env.DEPLOYMENTNAMESPACE} --selector=name=arango-deployment-operator > ./logs/deployment-${kubeconfig}.log"
105+
sh returnStatus: true, script:"kubectl logs -n ${env.DEPLOYMENTNAMESPACE} --selector=name=arango-deployment-operator > ./logs/deployment-${kubeconfig}.log"
106+
sh returnStatus: true, script:"kubectl logs -n kube-system --selector=name=arango-storage-operator > ./logs/storage-${kubeconfig}.log"
106107
archive includes: 'logs/*'
107108
sh "make cleanup-tests"
108109
}

0 commit comments

Comments
 (0)