There is the log parser plug-in for such tasks. 



Von meinem iPad gesendet

Am 24.07.2023 um 14:52 schrieb Inbar Mizrahi <[email protected]>:



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…

--
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 [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/ba7ddfad-6c81-4b8f-aeb4-4985c5b83135n%40googlegroups.com.

--
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 [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/6823D2A3-6BDB-4AA3-A701-E96DE968E318%40gmail.com.

Reply via email to