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 df593ca5 fix bash
df593ca5 is described below
commit df593ca57c40773f0ca1621967e57d8241148e54
Author: jstastny-cz <[email protected]>
AuthorDate: Thu Nov 16 16:15:45 2023 +0100
fix bash
---
.ci/jenkins/Jenkinsfile.build-image | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.ci/jenkins/Jenkinsfile.build-image
b/.ci/jenkins/Jenkinsfile.build-image
index f979091f..2cd1323a 100644
--- a/.ci/jenkins/Jenkinsfile.build-image
+++ b/.ci/jenkins/Jenkinsfile.build-image
@@ -199,7 +199,7 @@ pipeline {
script {
updateGithubCommitStatusFromBuildResult()
collectContainerLogs()
- archiveArtifacts artifacts: '**/*-build.log,
**/containers.log', allowEmptyArchive: true
+ archiveArtifacts artifacts: '**/*-build.log, **/*.log',
allowEmptyArchive: true
}
}
}
@@ -207,7 +207,7 @@ pipeline {
void collectContainerLogs() {
sh '''#!/bin/bash
- for container in $(docker container ls --format "{{.Names}}"); do echo
"[$container:START]"; docker logs $container; echo "[$container:END]"; done' &>
containers.log
+ for container in $(docker container ls --format "{{.Names}}"); do echo
"[$container:START]"; docker logs $container; echo "[$container:END]"; done &>
containers.log
'''
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]