How to get stdout and stderr from single Jenkins Pipeline parallel blocks?

前端 未结 2 1422
北荒
北荒 2021-01-18 12:14

I\'m using a parallel block into my Jenkinsfile to execute concurrently some tests, but all the outputs are getting mixed up.

This is an extract of my J

2条回答
  •  心在旅途
    2021-01-18 12:33

    https://stackoverflow.com/a/58050883/8380249 provides a way to get logs from parallel blocks

    • either as a string in the pipeline code
    • or saved as an artifact of the run

    the library used there also provides accessors to the internal ids which I think could be used to generate links to "pipeline steps" files

提交回复
热议问题