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 cde5f51b try bash
cde5f51b is described below
commit cde5f51b6691c6e7a58093a5a62a3eb0d236d3fc
Author: jstastny-cz <[email protected]>
AuthorDate: Thu Nov 16 10:54:55 2023 +0100
try bash
---
.ci/jenkins/Jenkinsfile.build-image | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/.ci/jenkins/Jenkinsfile.build-image
b/.ci/jenkins/Jenkinsfile.build-image
index d1967bae..a970a080 100644
--- a/.ci/jenkins/Jenkinsfile.build-image
+++ b/.ci/jenkins/Jenkinsfile.build-image
@@ -206,7 +206,9 @@ pipeline {
}
void collectContainerLogs() {
- sh 'for container in $(docker container ls --format "{{.Names}}"); do
docker logs $container >& ${container}-container.log; done'
+ sh '''#!/bin/bash
+ for container in $(docker container ls --format "{{.Names}}"); do
docker logs $container >& ${container}-container.log; done
+ '''
}
String getMakeBuildImageArgs() {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]