I am able to create a Pipeline job, and have the job do a git clone of two repos. When there are commits in either repo, the job is triggered.
However, I cannot get this to work with GitHub Org Folder / Repo / Branch. The job is only triggered when the repo/branch is modified, despite it checking out other repos. I also noticed that in the GitHub Org job, there is no "PollSCM" in the top-level GitHub Org job. However, in the repo/branch job, there is a "PollSCM", but the configuration of the job is read-only. In order for the Pipeline build to work with multiple repos, then "PollSCM" option must be enabled. I would like to be able to do this: https://github.com/user/mylib - builds a library https;//github.com/user/myapp - builds an app myapp/Jenkinsfile: dir("mylib") { git "https://github.com/user/mylib" } dir("myapp") { git "https://github.com/user/myapp" } sh 'do-build' Then, have the myapp job get triggered when there is a commit in either mylib or myapp. I have tried with a fresh download of Jenkins and up-to-date plugins. Details available upon request... -Justin -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/8b67b1b4-0a4b-486f-a0e6-4f5e27d3f4b7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
