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

Gitlab plugin is not well integrated with SCM plugin

XMLWordPrintable

      In my project, I need to clone and build code from multiple repositories, to do that I have configured multiple SCM by SCM plugin.
      I also need to trigger push and MR event from one of multiple repository.
      When a push event occurs the environment variable GIT_COMMIT contains the SHA of the push's last commit on one repository, let's say SHA1.
      But when Jenkins job tries to clone every repository, it tries to find SHA1 in every repository instead of searching it only in the pushed repository, raising an error.
      My guess is to get Jenkins looking for the SHA1 only in the pushed repository and clone all other repositories without looking for the commit SHA1.

            Unassigned Unassigned
            samuele_10102015 Samuele Gallerani
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: