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?

  • How to update code from git to a Docker container
  • Downstream Jenkins project gets wrong upstream run parameter
  • NodeJS/Jenkins/GIT and Jenkins Slave as Web server
  • having trouble during initial build for project “gameoflife” when following “jenkins the definitive guide” by john ferguson
  • how do I run cmd from the git post-commit hook
  • Automatically derive mandatory SonarQube properties from pom file in Jenkins
  • How do you setup a GitHub repo and branch for collaboration?
  • Creating a git repo on my server
  • Switching to new git branch, revert some changes in NetBeans
  • Maven release fails due to git failure
  • GIT to SVN migration perseverving user checkin data for multi-user
  • We want to switch to GIT, but we need a workflow
  • 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.