-
Type:
Bug
-
Resolution: Not A Defect
-
Priority:
Minor
-
Component/s: branch-api-plugin
-
Environment:Jenkins 2.57, workflow-multibranch 2.14
As mentioned by djviking , JOB_BASE_NAME variable is showing Branch value instead of Project name, when using Multibranch pipeline.
Same behaviour is seen being inside or outside a Folder.
Copying the same example mentioned here:
"BRANCH_NAME=master
JOB_NAME=projectA/master
JOB_BASE_NAME=master
The value for JOB_BASE_NAME should be in this case projectA."