I\'ve create a jenkins pipeline and it is pulling the pipeline script from scm. I set the branch specifier to \'all\', so it builds on any change to any bra
all
For pipeline:
pipeline { environment { BRANCH_NAME = "${GIT_BRANCH.split("/")[1]}" } }