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
Use multibranch pipeline.. not pipeline
In my script..
stage('Build') { node { echo 'Pulling...' + env.BRANCH_NAME checkout scm } }
Yields...
Pulling...master