jenkinsci / jenkinsci/cloudbees-folder-plugin

[JENKINS-64132] Multibranch pipeline jobs in folders are being separated by underscores

Open
#696 0 comments 0 reactions 0 assignees View on GitHub
component:cloudbees-folder-plugin component:workflow-multibranch-plugin imported-jira-issue pipeline priority:minor resolution:unresolved
Dominant language
Java
Stars
59
Forks
117
PR merge metrics
No merged PRs in 30d

Description

When i'm creating a multibranch-pipeline job inside a folder, and next to it a freestyle project, i'd excpect that the file structure under linux would be the following

├── FolderName

         └── Job1 <- multibranch

                  └── branch1

                  └── branch2

         └── Job2 <- freestyle

 

but instead, it is

 

├── FolderName

 

         └── Job2 

├── FolderName_Job1_branch1

├── FolderName_Job1_branch2

 

 

and so on.

Is this the intended behavior of the plugin or is it a bug?

 

In any case I would like to know how it would be possible to exchange artifacts between the different jobs.

Please note:

I am aware of the behaviour with special characters in the branch name (for example "/") and already use the url-encoded names.

 

Possibly related issue:

https://issues.jenkins-ci.org/browse/JENKINS-63258

 

---
Originally reported by g3n35i5, imported from: Multibranch pipeline jobs in folders are being separated by underscores


  • assignee: fcojfernandez
  • status: Open
  • priority: Minor
  • component(s): cloudbees-folder-plugin, workflow-multibranch-plugin
  • label(s): pipeline, plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 20251211-141027

Raw content of original issue

When i'm creating a multibranch-pipeline job inside a folder, and next to it a freestyle project, i'd excpect that the file structure under linux would be the following

├── FolderName

         └── Job1 <- multibranch
                  └── branch1

                  └── branch2

         └── Job2 <- freestyle

 

but instead, it is

 

├── FolderName

 

         └── Job2 

├── FolderName_Job1_branch1

├── FolderName_Job1_branch2

 

 

and so on.

Is this the intended behavior of the plugin or is it a bug?

 

In any case I would like to know how it would be possible to exchange artifacts between the different jobs.

Please note:

I am aware of the behaviour with special characters in the branch name (for example "/") and already use the url-encoded names.

 

Possibly related issue:

https://issues.jenkins-ci.org/browse/JENKINS-63258

 

environment

```
Debian 4.19.132-1 (2020-07-24) x86_64 GNU/Linux

Jenkins 2.249.2

workflow-multibranch-plugin 2.22

cloudbees-folder-plugin 6.14
```

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.