jenkinsci / jenkinsci/branch-api-plugin

[JENKINS-62629] MultiBranch Pipeline Job chooses default workspace. Not creating as per Jenkins folder structure

Open
#745 6 comments 0 reactions 0 assignees View on GitHub
component:branch-api-plugin imported-jira-issue priority:major resolution:unresolved
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


  • assignee: igalg
  • status: Open
  • priority: Major
  • component(s): branch-api-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 2
  • imported: 20251211-141027

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)
> ![slaveconfig.jpg](https://issues.jenkins.io/secure/attachment/51619/slaveconfig.jpg)

Contributor guide

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.