This is an automated email from the ASF dual-hosted git repository.
jstastnycz pushed a commit to branch radtriste-fix-pipelines
in repository
https://gitbox.apache.org/repos/asf/incubator-kie-kogito-images.git
The following commit(s) were added to refs/heads/radtriste-fix-pipelines by
this push:
new 2ab152f7 collect logs from all containers
2ab152f7 is described below
commit 2ab152f7f4e7759b31ecf611d4d109307deea01e
Author: jstastny-cz <[email protected]>
AuthorDate: Thu Nov 16 11:50:05 2023 +0100
collect logs from all containers
---
.ci/jenkins/Jenkinsfile.build-image | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.ci/jenkins/Jenkinsfile.build-image
b/.ci/jenkins/Jenkinsfile.build-image
index a970a080..809e860e 100644
--- a/.ci/jenkins/Jenkinsfile.build-image
+++ b/.ci/jenkins/Jenkinsfile.build-image
@@ -207,7 +207,7 @@ pipeline {
void collectContainerLogs() {
sh '''#!/bin/bash
- for container in $(docker container ls --format "{{.Names}}"); do
docker logs $container >& ${container}-container.log; done
+ for container in $(docker container ls -a --format "{{.Names}}"); do
docker logs $container >& ${container}-container.log; done
'''
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]