jenkinsci / jenkinsci/workflow-multibranch-plugin
[JENKINS-43466] Base (user provided) name of job not available in Multibranch pipeline
- Dominant language
- Java
- Stars
- 87
- Forks
- 131
- PR merge metrics
- No merged PRs in 30d
Description
Given that
- the base name of a Multibranch Pipeline project is the name given by the user
- the branch name of a Multibranch Pipeline project is the complete name of the branch for which the run has been triggered,
e.g.:
- base name = mylibrary
- branch name = newexcitingstuff,
we have a variable for "mylibrary/newexcitingstuff" (JOB_NAME), a variable for "newexcitingstuff" (BRANCH_NAME), another variable for "mylibrary/newexcitingstuff" (JOB_BASE_NAME), but no variable for "mylibrary". I know that I can parse that from JOB_NAME, but I believe the variable should be introduced.
---
Originally reported by beyerj, imported from: Base (user provided) name of job not available in Multibranch pipeline
Raw content of original issue
Given that
- the base name of a Multibranch Pipeline project is the name given by the user
- the branch name of a Multibranch Pipeline project is the complete name of the branch for which the run has been triggered,
e.g.:
- base name = mylibrary
- branch name = newexcitingstuff,
we have a variable for "mylibrary/newexcitingstuff" (JOB_NAME), a variable for "newexcitingstuff" (BRANCH_NAME), another variable for "mylibrary/newexcitingstuff" (JOB_BASE_NAME), but no variable for "mylibrary". I know that I can parse that from JOB_NAME, but I believe the variable should be introduced.
Contributor guide
Assessment
This issue has not been assessed yet.