Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-39253

Clarification on Git submodules case

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Minor Minor
    • bitbucket-plugin
    • None

      Hi ! Not sure if this an issue. But after reading bitbucket plugin docs I am not clear if plugin works properly for jobs configured as Git SCM ( Git plugin ) with sub modules.

      The history of this question is we have about ~ 300 bitbucket git repositories get together as git sub modules into a single git repository, lets call it MAIN repository. So obviously we *** don not want *** to have a 300 jenkins jobs ( each for every repo ) as every repo is just a logical unit of whole project/system, we want to trigger some actions when whatever repository listed as git submodule at MAIN repository is updated. So I have a following job setup:

      • Git SCM for MAIN repository with sub modules update enabled
      • Some builds steps to be taken when MAIN repos is updated ( read when one of git sub modules is updated )

      I am till not sure if bitbucket plugin trigger my job build using so called URLs "loosely matching", as obviously those URLS - are git sub modules URLs , not MAIN repo one...

            Unassigned Unassigned
            melezhik Alexey Melezhik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: