I run several tasks parallel but their logs were printed parallel.
It's hard to understand.
groovy dsl:
parallel (
"stream1": {
node { ... }
},
"stream2": {
node("remote") { ... }
}
)
logs:
[stream1] [workspace] Running shell script 1
[stream2] [workspace] Running shell script 2
[stream2] [workspace] Running shell script 3
[stream1] [workspace] Running shell script 4
I want to make these logs readable. Any ideas how to separate them?
EDIT: I just realised this is answered here: How to get stdout and stderr from single Jenkins Pipeline parallel blocks?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With