hi, I want to capture in my email notification whether the build compilation had warnings.
I tried ;
fail on specific text in build log = contains / exact / "warning" /
message= warning seen on; %env.BUILD_NUMBER%
This fails for my purposes;
1.The build# variable doesn't substitute.
2.The line that flags the fail is not shown, so actually I'm not necessarily sure what it found.
3.It is flagging because of the line "0 Warning(s)".
How can I get this to work? thank you!