-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
Jenkins ver. 1.631
Build Failure Analyzer 1.13.1
Steps to reproduce
- Create new Failure Cause (goto http://my-jenkins-host/failure-cause-management/new/)
- Type some Name e.g "foo"
- Type some Description e.g "bar"
- Add Multi-Line Build Log Indication
- Type some Pattern e.g. "foobar"
- Click "Save" button
- Edit the recently created Failure Cause
- Observe how the Pattern value has changed
- Click "Save" button
- Edit the recently created Failure Cause
- Observe how the Pattern value has changed
Expected result
After the first save operation Pattern value should be:
(?m)(?s)^[\r\n]*?foobar[^\r\n]*?${noformat} h6. Actual result After the first save operation Pattern value is:
(?m)(?s)[\r\n]?(?m)(?s)[\r\n]?foobar[^\r\n]?$[^\r\n]?${noformat}
After the second save operation Pattern value is
(?m)(?s)[\r\n]?(?m)(?s)[\r\n]?(?m)(?s)^[\r\n]?foobar[^\r\n]?$[^\r\n]?$[^\r\n]?${noformat}
Additional information
- This if-statement is always true(?)
- Attached screenshot shows the Pattern value after 3 saves