I'm new to Jenkins and have the follwing task. I'm trying to run a job when a condition is met, this condition will come from the console log.
There is a method, in a first job, that outputs to console "Yes" or "No". I need to parse this console output, get the value and if it is "Yes", I want to start the second job, if "No", don't start it.
I've tried to search for jenkins plugins but there is nothing that fits my task or I just didn't find it.
Can anyone give me advice or solutions:
- To parse console output and get my param "Yes" or "No"
- To run the second job if param is "Yes"
Thanks!