-
Bug
-
Resolution: Unresolved
-
Major
-
None
1. I create a PR
2. Jenkins builds it, approves, adds comment
3. Jenkins builds it again, approves, adds comment
etc.
- is related to
-
JENKINS-26785 use hooks
-
- Open
-
[JENKINS-30277] Plugin keeps building pull request when project name != project display name
Link | New: This issue is related to JENKINS-26785 [ JENKINS-26785 ] |
Summary | Original: Plugin keeps building pull request even if there were no changes | New: Plugin keeps building pull request when using custom project display name |
Summary | Original: Plugin keeps building pull request when using custom project display name | New: Plugin keeps building pull request when project name != project display name |
Description |
Original:
1. I create a PR 2. Jenkins builds it, approves, adds comment 3. Jenkins builds it again, approves, adds comment etc. What might be the cause of this ? I assume my configuration is correct (i followed your guide). |
New:
1. I create a PR 2. Jenkins builds it, approves, adds comment 3. Jenkins builds it again, approves, adds comment etc. |
Workflow | Original: JNJira [ 165370 ] | New: JNJira + In-Review [ 181941 ] |
Ok, the issue was caused by changing the project display name. The plugin uses PR comment as an indicator if the build is or should be ran. It uses regex including project name; when using display name the regex does not work anymore and plugin thinks that the build was not run.
If author will decide to use hooks as mentioned in JENKINS-26785, this issue will be solved.