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

skipDefaultCheckout() : pipeline displays "No change"

    Details

    • Similar Issues:

      Description

      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?

       

        Attachments

          Issue Links

            Activity

            kgiloo kgiloo created issue -
            kgiloo kgiloo made changes -
            Field Original Value New Value
            Assignee kgiloo [ kgiloo ]
            jglick Jesse Glick made changes -
            Link This issue duplicates JENKINS-46431 [ JENKINS-46431 ]
            abayer Andrew Bayer made changes -
            Labels declarative pipeline scm declarative pipeline scm triaged-2018-11

              People

              • Assignee:
                kgiloo kgiloo
                Reporter:
                kgiloo kgiloo
              • Votes:
                3 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated: