Expression to compute the branch name from its name given as a parameter.
Note that after the expression resolution, the name will be also escaped in order to be a valid folder or name in Jenkins.
Default value: ${branch}
In all expressions, the following replacements are taken into account:
${PROJECT}
or ${BRANCH}
- name of the project or the branch in UPPERCASE${PROJECT_}
or ${BRANCH_}
- name of the project or the branch in UPPERCASE and dashes (-) are replaced by underscores (_)${project}
or ${branch}
- name of the project or the branch in lowercase${Project}
or ${Branch}
- name of the project or the branch, capitalised