projects
/
osm
/
devops.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
723f7c3
)
Redirecting the logs of robot to a file
09/9209/1
author
Felipe Vicens
<felipe.vicens@atos.net>
Fri, 26 Jun 2020 18:22:34 +0000
(20:22 +0200)
committer
Felipe Vicens
<felipe.vicens@atos.net>
Fri, 26 Jun 2020 18:22:34 +0000
(20:22 +0200)
Change-Id: I0f60913b040df80f0a96cd88d485a2f6692ffdc5
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
jenkins/ci-pipelines/ci_stage_3.groovy
patch
|
blob
|
history
diff --git
a/jenkins/ci-pipelines/ci_stage_3.groovy
b/jenkins/ci-pipelines/ci_stage_3.groovy
index
d518cfc
..
671482c
100644
(file)
--- a/
jenkins/ci-pipelines/ci_stage_3.groovy
+++ b/
jenkins/ci-pipelines/ci_stage_3.groovy
@@
-102,7
+102,7
@@
def run_robot_systest(stackName,tagName,testName,envfile=null,kubeconfig=null,cl
}
def archive_logs(stackName) {
- sh "docker service ls |grep \"${stackName}\"| awk '{print \$2}'| xargs -iy docker service logs y --timestamps
> containers_logs.txt 2>&1
"
+ sh "docker service ls |grep \"${stackName}\"| awk '{print \$2}'| xargs -iy docker service logs y --timestamps
&> containers_logs.txt
"
archiveArtifacts artifacts: 'containers_logs.txt'
}