-
Type: Improvement
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Jenkins X
-
Tags:
-
Team:PLATFORM
-
Sprint:nxplatform #81
-
Story Points:1
We use the Jenkins step findText in our pipeline in order to look for ERROR messages in the server logs.
One drawback of this step is that it does mark the build in FAILURE but it doesn't stop the pipeline. This requires us to have an extra post / unsuccessful block to stop the pipeline.
We would like to create a method in our Platform Shared Library which calls findText, then check if it has found something matching the given regexp, and then fail the step if so.
- is related to
-
NXP-31674 Print a log message when Nuxeo is shutting down
- Resolved