Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Why Multibranch Pipeline job name takes only 32 character?

Pappu
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 25, 2022

When I build a job using Multibranch pipeline, Jenkins is not creating workspace repository which is more than 32 character. It trims the character from starting of the job name.

Job name: multi-branch-jenkins-pipeline

Branch: Dev

what i want jenkins to create workspace: multi-branch-jenkins-pipeline_dev

what Jenkins create: iple-branch-jenkins-pipeline_dev

What i tried Djenkins.branch.WorkspaceLocatorImpl.PATH_MAX=40 Didn't Work

 

1 answer

0 votes
Husak, Jiri
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 7, 2022

Hi, I have the same issue. Also tried to set MAX_LENGTH, both to 0 or large number, but there is no change in Jenkins behavior. I would appreciate any suggestion.

Douglas Whitfield
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 5, 2024

I was not able to find "MAX_LENGTH" in the source code. Where do you think this would be coming from?

Suggest an answer

Log in or Sign up to answer