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.

On Wed, Sep 27, 2017, 07:44 Andreas Tscharner <[email protected]>
wrote:

> Hello World,
> Instead of the textFinder I am using the Groovy postbuild plugin to check
> if some tests (hand written) failed. I try the following:
>
> if (manager.logContains("FAILURES!")) {
>   manager.buildUnstable()
> }
>
> That does not seem to work however. So my question: What text exactly does
> logContains check? It it the complete output I see on the console output or
> is it only part of that? Or did I just make a mistake in the logContains
> check?
>
> TIA and 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/ac57d57a-54e3-2c38-c415-729d31db6207%40gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-users/ac57d57a-54e3-2c38-c415-729d31db6207%40gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAPiUgVcSuYcPQ2OL2c0Fxmr9CDSsh%2BTTKgWbs02%2BM-rwUKP0RQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to