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

skipDefaultCheckout() : pipeline displays "No change"

      scope: declarative pipeline + bitbucket multi branch

      for optimization purpose (big repo), i chose to skip the default checkout.

              options {
                  disableConcurrentBuilds()
                  skipDefaultCheckout(env.PR_NUM != null)
              }

      i also implemented my own checkout, depending on branch's type (feature, PR-,...)

      pipeline triggers jobs on every commit i do, but somehow the "changes" are not caught

      when i do NOT skip the default checkout, everything works as expected.

      Question: is this as "per-design", how can i get rid of this issue?

       

          [JENKINS-48474] skipDefaultCheckout() : pipeline displays "No change"

          kgiloo created issue -
          kgiloo made changes -
          Assignee New: kgiloo [ kgiloo ]
          Jesse Glick made changes -
          Link New: This issue duplicates JENKINS-46431 [ JENKINS-46431 ]
          Andrew Bayer made changes -
          Labels Original: declarative pipeline scm New: declarative pipeline scm triaged-2018-11
          Tzach Solomon made changes -
          Component/s Original: bitbucket-plugin [ 18755 ]
          Nikolas Falco made changes -
          Assignee Original: kgiloo [ kgiloo ] New: Nikolas Falco [ nfalco ]
          Nikolas Falco made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

            nfalco Nikolas Falco
            kgiloo kgiloo
            Votes:
            5 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: