Hi,
I’m using a Freestyle project
I’m trying to ignore some lines from the console output log before an email with console log as body is sent, for example these 2 lines (there is more line i want to ignore but testing with these 2 first)
Started by user unknown or anonymous
Running as SYSTEM
I tried using Console Parser Plugin but with no success.
-
I created the rule file and saved it as .txt (tried as .properties) and saved it in the home directory, didn’t work
-
tried with this command:
ignore /^Started by user (unknown|anonymous)$/
-
tried these:
ERROR=[ERROR],#error
WARNING=[WARNING],[WARN]
INFO=[INFO]
HEADER=[INFO] Building
ignore=/.*Building.*/, /.*Started by user (unknown|anonymous).*/
is there any other way i can ignore some text in the console before sending the log as an email body?
Thanks in advance