Extract k6 stdout results to Editable Email Notification Content

Hi Team,

I want to automate the k6 test results and send them automatically after the test using the Post-build edit email option.

I tried to extract the results summary using ${BUILD_LOG_REGEX}, ${BUILD_LOG_EXCERPT}, and ${BUILD_LOG} none of them work for me.

Does anyone guide me on this?

Hi @Gerard

Are you using Jenkins and its email extension to send emails? A bit more context will help.

Cheers!

Yes. I’m using Jenkins and Editable email notification extensions. When I try the below options it prints only the lines containing the count.
${BUILD_LOG_REGEX, regex=ā€œ.?(count).?ā€}

Guide me how to capture the entire results summary or any other workaround