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

Bitbucket-branch-source plugin does not support GIT submodules

XMLWordPrintable

      In case of gitSCMSource we can define submodule policies for the branch:

       

      submoduleOption {
       disableSubmodules(false)
       recursiveSubmodules(true)
       parentCredentials(true)
       trackingSubmodules(false)
       reference("")
       timeout(1)
      }

      bitbucketSCMSource does not support that so it's literally impossible to get things working without dirty hacks, like using sh("git submodule update --init"). Also it does require additional configuration of the target host, which is a completely bad thing.

       

      Related: 

      1. JENKINS-32658
      2. JENKINS-37658

            amuniz Antonio Muñiz
            pshirshov P S
            Votes:
            11 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: