Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-30277

Plugin keeps building pull request when project name != project display name

    Details

    • Similar Issues:

      Description

      1. I create a PR
      2. Jenkins builds it, approves, adds comment
      3. Jenkins builds it again, approves, adds comment
      etc.

        Attachments

          Issue Links

            Activity

            jkobus Jacek created issue -
            Hide
            jkobus Jacek added a comment - - edited

            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.

            Show
            jkobus Jacek added a comment - - edited 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.
            jkobus Jacek made changes -
            Field Original Value New Value
            Link This issue is related to JENKINS-26785 [ JENKINS-26785 ]
            jkobus Jacek made changes -
            Summary Plugin keeps building pull request even if there were no changes Plugin keeps building pull request when using custom project display name
            jkobus Jacek made changes -
            Summary Plugin keeps building pull request when using custom project display name Plugin keeps building pull request when project name != project display name
            jkobus Jacek made changes -
            Description 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).
            1. I create a PR
            2. Jenkins builds it, approves, adds comment
            3. Jenkins builds it again, approves, adds comment
            etc.
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 165370 ] JNJira + In-Review [ 181941 ]

              People

              • Assignee:
                Unassigned
                Reporter:
                jkobus Jacek
              • Votes:
                2 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: