Jenkins and plugins versions report
Environment
What Operating System are you using (both controller, and any agents involved in the problem)?
Linux
Reproduction steps
- Step 1: define the triggering comment as
\\[ci-merge\\]
- Step 2: issue a comment of
[ci-merge]\r\n (a new line in the end).
Expected Results
I'd expect the comment to trigger the build, as it says in the documentation:
Regular expression matching
The regex is not surrounded with any markers and uses the Pattern.CASE_INSENSITIVE and Pattern.DOTALL Java flags.
Actual Results
The build is not triggered.
Anything else?
The build is triggered after I edit the comment and remove the new line.
Are you interested in contributing a fix?
No response
Jenkins and plugins versions report
Environment
What Operating System are you using (both controller, and any agents involved in the problem)?
Linux
Reproduction steps
\\[ci-merge\\][ci-merge]\r\n(a new line in the end).Expected Results
I'd expect the comment to trigger the build, as it says in the documentation:
Actual Results
The build is not triggered.
Anything else?
The build is triggered after I edit the comment and remove the new line.
Are you interested in contributing a fix?
No response