Jenkins Git Publisher, multiple repositories and multiple SCMs

We have multiple Git repos, all needed for one build, so we need to use MultiSCM to get the source.

I hook it up to Git Publisher to pull the tag after each build and it works fine on test against a single repo, but I can't get it to play with MultiSCM. Is it possible?

+3


source to share


2 answers


The short answer is that the plugin does not support multiple repos (yet). It is much easier to add a final job step that cds to each repo and runs a git tag; git push -tags.



+8


source


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



+1


source







All Articles