Jenkins GIT parameter plug-in always run master instead of choosen branch

Hello I'm working with pipelines in Jenkins in a environment which already has configured a pipeline script from SCM which then uses a groovy file for the stages/jobs inside the pipeline. This scripts are on Bitbucket . there are 3 branches.

I added the GIT parameter plug in so I can run the Job, but instead of running from master, to run from the branch I choose (a branch a I created for testing called DEVOPS-568-pipeline-ci). With the plug in installed, all branches are seen but eventhough I choose the branch I want, It alway runs master branch. What am I missing in configuration? I'm attaching images so you can check. Regards.

jenkins config

Jenkins config

branch chooser

enter image description here



comments powered by Disqus