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

'%' in branch name causes GitHub multi-branch job failures

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      A '%' character in a branch name breaks the GitHub API calls on a git repository if the job performing the clone is generated by GitHub Organization Folder plugin (windows or Linux) or the GitHub branch source (windows or Linux).

      Steps to duplicate the problem:

      1. Define a GitHub multibranch PIpeline job referencing the MarkEWaite/jenkins-bugs repository (or a GitHub Organization Folders job which references the GitHub organization MarkEWaite, looking only at the repository jenkins-bugs)
      2. Scan the repository, watch the jobs run
      3. Open the has-percent-%-JENKINS-44360 job and confirm it failed to clone

      Steps to show the same branch working with a multibranch pipeline:

      1. Define a multi-branch pipeline job using the MarkEWaite/jenkins-bugs github repo using Git as the branch source rather than GitHub
      2. Scan the repository, watch the jobs run
      3. Open the has-percent-%-JENKINS-44360 job and confirm it cloned successfully

      The issue seems to require:

      • GitHub Organization Folders or GitHub multibranch
      • '%' in the branch name on the repository

        Attachments

          Issue Links

            Activity

            markewaite Mark Waite created issue -
            markewaite Mark Waite made changes -
            Field Original Value New Value
            Summary '%' in branch name of GitHub Organization Folders causes strange job Windows failure '%' in branch name of GitHub Organization Folders repository causes job failure
            markewaite Mark Waite made changes -
            Description A '%' character in a branch name breaks clone on a git repository if the job performing the clone is generated by GitHub Organization Folder plugin. The same character in the same branch does not break clone with a multi-branch pipeline automatically defined job.

            Steps to duplicate the problem:

            # Define a GitHub Organization Folders job which references the GitHub organization MarkEWaite, looking only at the repository jenkins-bugs
            # Scan the repository, watch the jobs run
            # Open the has-percent-%-JENKINS-44041 job and confirm it failed to clone

            Steps to show the same branch working with a multibranch pipeline:

            # Define a multi-branch pipeline job using the MarkEWaite/jenkins-bugs github repo
            # Scan the repository, watch the jobs run
            # Open the has-percent-%-JENKINS-44041 job and confirm it cloned successfully

            The issue seems to require:
            * GitHub Organization Folders
            * '%' in the branch name on the repository
            A '%' character in a branch name breaks clone on a git repository if the job performing the clone is generated by GitHub Organization Folder plugin. The same character in the same branch does not break clone with a multi-branch pipeline automatically defined job.

            Steps to duplicate the problem:

            # Define a GitHub Organization Folders job which references the GitHub organization MarkEWaite, looking only at the repository jenkins-bugs
            # Scan the repository, watch the jobs run
            # Open the has-percent-%-JENKINS-44360 job and confirm it failed to clone

            Steps to show the same branch working with a multibranch pipeline:

            # Define a multi-branch pipeline job using the MarkEWaite/jenkins-bugs github repo
            # Scan the repository, watch the jobs run
            # Open the has-percent-%-JENKINS-44360 job and confirm it cloned successfully

            The issue seems to require:
            * GitHub Organization Folders
            * '%' in the branch name on the repository
            markewaite Mark Waite made changes -
            Summary '%' in branch name of GitHub Organization Folders repository causes job failure '%' in branch name causes Windows multi-branch job failures
            markewaite Mark Waite made changes -
            Component/s workflow-multibranch-plugin [ 21465 ]
            markewaite Mark Waite made changes -
            Description A '%' character in a branch name breaks clone on a git repository if the job performing the clone is generated by GitHub Organization Folder plugin. The same character in the same branch does not break clone with a multi-branch pipeline automatically defined job.

            Steps to duplicate the problem:

            # Define a GitHub Organization Folders job which references the GitHub organization MarkEWaite, looking only at the repository jenkins-bugs
            # Scan the repository, watch the jobs run
            # Open the has-percent-%-JENKINS-44360 job and confirm it failed to clone

            Steps to show the same branch working with a multibranch pipeline:

            # Define a multi-branch pipeline job using the MarkEWaite/jenkins-bugs github repo
            # Scan the repository, watch the jobs run
            # Open the has-percent-%-JENKINS-44360 job and confirm it cloned successfully

            The issue seems to require:
            * GitHub Organization Folders
            * '%' in the branch name on the repository
            A '%' character in a branch name breaks clone on a git repository if the job performing the clone is generated by GitHub Organization Folder plugin (windows or Linux) or the multi-branch plugin (windows master or agent only). The same character in the same branch does not break clone with a multi-branch pipeline automatically defined job on Linux.

            Steps to duplicate the problem:

            # Define a GitHub Organization Folders job which references the GitHub organization MarkEWaite, looking only at the repository jenkins-bugs
            # Scan the repository, watch the jobs run
            # Open the has-percent-%-JENKINS-44360 job and confirm it failed to clone

            Steps to show the same branch working with a multibranch pipeline:

            # Define a multi-branch pipeline job using the MarkEWaite/jenkins-bugs github repo
            # Scan the repository, watch the jobs run
            # Open the has-percent-%-JENKINS-44360 job and confirm it cloned successfully

            The issue seems to require:
            * GitHub Organization Folders
            * '%' in the branch name on the repository
            jglick Jesse Glick made changes -
            Component/s branch-api-plugin [ 18621 ]
            Component/s github-organization-folder-plugin [ 21427 ]
            Component/s workflow-multibranch-plugin [ 21465 ]
            Assignee Kohsuke Kawaguchi [ kohsuke ] Stephen Connolly [ stephenconnolly ]
            jglick Jesse Glick made changes -
            Link This issue blocks JENKINS-34564 [ JENKINS-34564 ]
            markewaite Mark Waite made changes -
            Attachment Jenkins-System-Information.pdf [ 38199 ]
            splashnenen Alexandre Aubert made changes -
            Priority Minor [ 4 ] Critical [ 2 ]
            markewaite Mark Waite made changes -
            Priority Critical [ 2 ] Minor [ 4 ]
            stephenconnolly Stephen Connolly made changes -
            Assignee Stephen Connolly [ stephenconnolly ]
            godskalk Øyvind R made changes -
            Link This issue relates to JENKINS-54654 [ JENKINS-54654 ]
            jglick Jesse Glick made changes -
            Link This issue duplicates JENKINS-2111 [ JENKINS-2111 ]
            jglick Jesse Glick made changes -
            Resolution Cannot Reproduce [ 5 ]
            Status Open [ 1 ] Resolved [ 5 ]
            markewaite Mark Waite made changes -
            Resolution Cannot Reproduce [ 5 ]
            Status Resolved [ 5 ] In Review [ 10005 ]
            markewaite Mark Waite made changes -
            Attachment JENKINS-44360.log [ 47528 ]
            markewaite Mark Waite made changes -
            Summary '%' in branch name causes Windows multi-branch job failures '%' in branch name causes GitHub multi-branch job failures
            markewaite Mark Waite made changes -
            Description A '%' character in a branch name breaks clone on a git repository if the job performing the clone is generated by GitHub Organization Folder plugin (windows or Linux) or the multi-branch plugin (windows master or agent only). The same character in the same branch does not break clone with a multi-branch pipeline automatically defined job on Linux.

            Steps to duplicate the problem:

            # Define a GitHub Organization Folders job which references the GitHub organization MarkEWaite, looking only at the repository jenkins-bugs
            # Scan the repository, watch the jobs run
            # Open the has-percent-%-JENKINS-44360 job and confirm it failed to clone

            Steps to show the same branch working with a multibranch pipeline:

            # Define a multi-branch pipeline job using the MarkEWaite/jenkins-bugs github repo
            # Scan the repository, watch the jobs run
            # Open the has-percent-%-JENKINS-44360 job and confirm it cloned successfully

            The issue seems to require:
            * GitHub Organization Folders
            * '%' in the branch name on the repository
            A '%' character in a branch name breaks the GitHub API calls on a git repository if the job performing the clone is generated by GitHub Organization Folder plugin (windows or Linux) or the GitHub branch source (windows master or agent only).

            Steps to duplicate the problem:

            # Define a GitHub multibranch PIpeline job referencing the MarkEWaite/jenkins-bugs repository (or a GitHub Organization Folders job which references the GitHub organization MarkEWaite, looking only at the repository jenkins-bugs)
            # Scan the repository, watch the jobs run
            # Open the has-percent-%-JENKINS-44360 job and confirm it failed to clone

            Steps to show the same branch working with a multibranch pipeline:

            # Define a multi-branch pipeline job using the MarkEWaite/jenkins-bugs github repo using Git as the branch source rather than GitHub
            # Scan the repository, watch the jobs run
            # Open the has-percent-%-JENKINS-44360 job and confirm it cloned successfully

            The issue seems to require:
            * GitHub Organization Folders or GitHub multibranch
            * '%' in the branch name on the repository
            markewaite Mark Waite made changes -
            Description A '%' character in a branch name breaks the GitHub API calls on a git repository if the job performing the clone is generated by GitHub Organization Folder plugin (windows or Linux) or the GitHub branch source (windows master or agent only).

            Steps to duplicate the problem:

            # Define a GitHub multibranch PIpeline job referencing the MarkEWaite/jenkins-bugs repository (or a GitHub Organization Folders job which references the GitHub organization MarkEWaite, looking only at the repository jenkins-bugs)
            # Scan the repository, watch the jobs run
            # Open the has-percent-%-JENKINS-44360 job and confirm it failed to clone

            Steps to show the same branch working with a multibranch pipeline:

            # Define a multi-branch pipeline job using the MarkEWaite/jenkins-bugs github repo using Git as the branch source rather than GitHub
            # Scan the repository, watch the jobs run
            # Open the has-percent-%-JENKINS-44360 job and confirm it cloned successfully

            The issue seems to require:
            * GitHub Organization Folders or GitHub multibranch
            * '%' in the branch name on the repository
            A '%' character in a branch name breaks the GitHub API calls on a git repository if the job performing the clone is generated by GitHub Organization Folder plugin (windows or Linux) or the GitHub branch source (windows or Linux).

            Steps to duplicate the problem:

            # Define a GitHub multibranch PIpeline job referencing the MarkEWaite/jenkins-bugs repository (or a GitHub Organization Folders job which references the GitHub organization MarkEWaite, looking only at the repository jenkins-bugs)
            # Scan the repository, watch the jobs run
            # Open the has-percent-%-JENKINS-44360 job and confirm it failed to clone

            Steps to show the same branch working with a multibranch pipeline:

            # Define a multi-branch pipeline job using the MarkEWaite/jenkins-bugs github repo using Git as the branch source rather than GitHub
            # Scan the repository, watch the jobs run
            # Open the has-percent-%-JENKINS-44360 job and confirm it cloned successfully

            The issue seems to require:
            * GitHub Organization Folders or GitHub multibranch
            * '%' in the branch name on the repository
            markewaite Mark Waite made changes -
            Status In Review [ 10005 ] In Progress [ 3 ]
            markewaite Mark Waite made changes -
            Status In Progress [ 3 ] Open [ 1 ]
            markewaite Mark Waite made changes -
            Component/s github-branch-source-plugin [ 20858 ]
            Component/s branch-api-plugin [ 18621 ]

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              markewaite Mark Waite
              Votes:
              5 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated: