-
Bug
-
Resolution: Unresolved
-
Minor
-
None
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
- blocks
-
JENKINS-34564 Give the ability to choose how the multibranch subprojects will be named.
- Resolved
- duplicates
-
JENKINS-2111 removing a job (including multibranch/org folder branches/repos) does not remove the workspace
- Resolved
- relates to
-
JENKINS-54654 A recent update breaks builds by escaping slashes to percent signs in workspace paths
- Resolved