Jenkins Git Publisher, multiple repos and Multiple SCM

We have multiple Git repositories, all required for a single build so we have to use MultiSCM to get source.

I’m hooking it up to Git Publisher, to push a tag after each build, and it works nicely on a test against a single repo, but I can’t get it to play nice with MultiSCM. Is it possible?

  • Handshaking not happening between master and slave in jenkins
  • Unable to install git and related plugins in Jenkins using Ansible
  • Jenkins Pipeline continue latest build at certain time
  • In Jenkins, what does the “Publish to Subversion repository” in Add post-build action dropdown do?
  • Jenkins Google Login Plugin Redirect URIs error
  • Using ssh-agent with jenkins while polling SCM
  • Jenkins + Build Flow, how to pass a variable from one job to another
  • Jenkins Git Publisher not working with Multiple SCM plugin
  • 2 Solutions collect form web for “Jenkins Git Publisher, multiple repos and Multiple SCM”

    The short answer is the plugin doesn’t support multiple repos (yet). It’s much easier to add a final job step that cds into each repo and runs git tag; git push –tags.

    I think that you won’t be able to publish tags to multiple Git repositories until this bug is fixed: https://issues.jenkins-ci.org/browse/JENKINS-13779. But don’t hold your breath. Note that the bug is nearly 4 years old already.

    Git Baby is a git and github fan, let's start git clone.