jenkinsci / jenkinsci/branch-api-plugin

[JENKINS-51827] Randon String in branch name in multibranch pipeline on jenkins master server

Open
#700 0 comments 0 reactions 0 assignees View on GitHub
component:branch-api-plugin imported-jira-issue priority:critical resolution:unresolved
Dominant language
Java
Stars
39
Forks
154
PR merge metrics
No merged PRs in 30d

Description

Hi,

I am using multibranch pipeline job. In our Organization create the branch name with the following pattern (/). e.g "integration/treatmentResume"

Also, I am using the custom workspace folder.

when I check this branch name on Jenkins master server to access the archive artifact then I got the below branch name.

*Modified Branch Name :- "*integration-.agrm62.atmentResume"

Original Branch Name:- "integration/treatmentResume" 

Path :- var/lib/jenkins/jobs//branches/

Please let me know what the logic behind this.

---
Originally reported by harkeshkumar, imported from: Randon String in branch name in multibranch pipeline on jenkins master server


  • status: Open
  • priority: Critical
  • component(s): branch-api-plugin
  • label(s): jenkins, plugin, triaged-2018-11
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 20251211-141027

Raw content of original issue

Hi,

I am using multibranch pipeline job. In our Organization create the branch name with the following pattern (<name>/<feature-name>). e.g "integration/treatmentResume"

Also, I am using the custom workspace folder.

when I check this branch name on Jenkins master server to access the archive artifact then I got the below branch name.

*Modified Branch Name :- "*integration-.agrm62.atmentResume"

Original Branch Name:- "integration/treatmentResume" 

Path :- var/lib/jenkins/jobs/<job-name>/branches/

Please let me know what the logic behind this.

environment

```
OS:- Ubuntu

Jenkins Version:- 2.89.4

workflow-multibranch-plugin version :- 2.17
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.