Hello again,

On 27.09.2017 17:06, Slide wrote:
I believe the match is done line by line and is done using a regular expression, so you may need to play around with that.


Thank you! Your are right. The following regex works:

  if (manager.logContains("(.*)(FAILURES!)(.*)")) {
      manager.buildUnstable()
  }

Best regards
        Andreas
--
Andreas Tscharner                             [email protected]

Gordon's Law:
If you think you have the solution, the question was poorly phrased.

--
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/abba9375-5d0e-f1b9-4b0e-10257c4a0355%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to