I have a Jenkins job with 1 string parameter ($BRANCH) default set to "branch/stage/feature". The single build step is to Execute Shell..
set +x
echo ${BRANCH////_}
It fails with 'Bad substitution'
I'm trying to replace all the foreward slashes with underscores and save it to a new string.