Why Multibranch Pipeline job name takes only 32 character?

Pappu 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
Jiri Husak 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.

Suggest an answer

Log in or Sign up to answer