jenkinsci / jenkinsci/branch-api-plugin
[JENKINS-62629] MultiBranch Pipeline Job chooses default workspace. Not creating as per Jenkins folder structure
- Dominant language
- Java
- Stars
- 39
- Forks
- 154
- PR merge metrics
- No merged PRs in 30d
Description
Hi Team,
I have Created a Jenkins Multibranch pipeline job inside the Folder ALM->PORTAL->Portal-multibranchpipeline
But the workspace for the Multibranch pipeline job is not created inside the ALM->PORTAL->Portal-multibranchpipeline
The workspace is getting created in the default workspace directory.
---
Originally reported by prasanna2104, imported from: MultiBranch Pipeline Job chooses default workspace. Not creating as per Jenkins folder structure
igalg
Raw content of original issue
Hi Team,
I have Created a Jenkins Multibranch pipeline job inside the Folder ALM->PORTAL->Portal-multibranchpipeline
But the workspace for the Multibranch pipeline job is not created inside the ALM->PORTAL->Portal-multibranchpipeline
The workspace is getting created in the default workspace directory.
1 attachment
- [slaveconfig.jpg](https://issues.jenkins.io/secure/attachment/51619/slaveconfig.jpg)
> 
Contributor guide
Research direction
Start by reproducing the workspace placement in the branch-api-plugin with a multibranch pipeline nested in the ALM->PORTAL->Portal-multibranchpipeline folder. Trace the multibranch workspace handling and compare the generated path with the Jenkins folder structure; done means the workspace is created under the expected folder hierarchy.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- ci-cd
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100