Email from Jenkins - question

6 views
Skip to first unread message

Inbar Mizrahi

unread,
Jul 24, 2023, 8:52:41 AM7/24/23
to Jenkins Users

Hi, I have a pipeline job that at the end of the run search for a certain sentence in the log and then:


1. Set the job to UNSTABLE.

2. Send an email with the log attached.

 

The sentence includes problematic disks and may or may not appear.

 

What I would like is:

               Finding the sentence and putting it in the email body

               (I can’t predict the sentence but I know it contains “XXXXXX”.

                (this is how I am searching for it)

               The log is too long and complicated, we don’t need it, 

               and the reason I attached it- 

               was just for the sentence with the problematic disks.

 

Hope it is possible…

Ulli Hafner

unread,
Jul 24, 2023, 12:30:34 PM7/24/23
to jenkins...@googlegroups.com
There is the log parser plug-in for such tasks. 

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/ba7ddfad-6c81-4b8f-aeb4-4985c5b83135n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages