Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-44734

bitbucket-branch-source-plugin should be able to check out to local branch

XMLWordPrintable

      I am using the latest version of bitbucket-branch-source-plugin.

      I am making changes to the POM version as part of my build and want to push these changes back to the repo.

      This is hard because:

      a) the plugin does not offer any way to reuse the credentials and push back to the repo as part of the pipeline

      b) the plugin checks out code in a detached HEAD state.  When using the Git plugin this is fixable by selecting the additional option 'Check out to specific local branch'.  This option is not available as part of this plugin though

       

      I would like to be able to add a pipeline step to push my code back to the branch.  I am happy to use the shell to do this but I need to be on a branch so i need the option to 'Check out to specific local branch'.

            amuniz Antonio Muñiz
            wimnat Rob White
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: