0

To build my project, I need to pull 3 git repositories.

In the stage view, I only see the commits from 1 of those 3 git repositories.

Screenshot Jenkins Stage View

How can I tell Jenkins about the other 2 repos?

Joe
  • 3,090
  • 6
  • 37
  • 55
  • 1
    PLS check http://stackoverflow.com/questions/37395860/jenkinsfile-with-two-git-repositories – Mor Lajb Jan 15 '17 at 14:54
  • Yep, this works. But unfortunately, there is no information which commit goes to which repo. – Joe Jan 18 '17 at 19:18

1 Answers1

3

I think that if you're using a Pipeline job then the suggestion from @Mor Lajb is working properly. You can basically specify the three git sources directly from the pipeline Groovy script.

Conversely, if you're using a multi-branch pipeline job then you probably need to select 'configure' from within your project and under 'branch sources' add as many git sources you need (use add source button).

Lino
  • 5,084
  • 3
  • 21
  • 39