how to save report at task level executed on sequence

33 views
Skip to first unread message

s.saw...@gmail.com

unread,
Mar 8, 2021, 3:51:59 AM3/8/21
to go-cd
Is there any way to save all tasks report in goCD
I have multiple sequential tasks executing in one Job and i want to save all the reports

Sushma Gangaiah

unread,
Mar 8, 2021, 4:01:50 AM3/8/21
to go...@googlegroups.com
Hi Sawadhiya,

You can save the reports as an artifact in GoCD master for every task and fetch later.

Regards,
Sushma

On Mon, Mar 8, 2021, 2:22 PM s.saw...@gmail.com <s.saw...@gmail.com> wrote:
Is there any way to save all tasks report in goCD
I have multiple sequential tasks executing in one Job and i want to save all the reports

--
You received this message because you are subscribed to the Google Groups "go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email to go-cd+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/5c55e85d-8413-4ebd-a804-40be33ee819bn%40googlegroups.com.

Sunaina Awadhiya

unread,
Mar 8, 2021, 4:48:32 AM3/8/21
to go...@googlegroups.com
Do i need to add set of code in task execution script only as save report in artifact will be done at job level, not task level.



--
Sunaina Awadhiya
Bangalore

Jason Smyth

unread,
Mar 11, 2021, 11:24:04 AM3/11/21
to go-cd
Hello Sunaina,

I think the easiest way to do this is probably to configure all of the Tasks to output their reports to a specific location relative to the Pipeline's working directory (e.g., ./Reports).

You can then configure the Job to publish everything under ./Reports when the Job is over and you will get the reports from all Tasks at once.

Is there some reason you need to have the reports published as each Task completes that would prevent this solution from working for you?

Regards,
Jason
Reply all
Reply to author
Forward
0 new messages