Git SCM polling fails with skipDefaultCheckout() in pipeline

XMLWordPrintable

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: Major
    • None
    • Environment:
      latest production version of Jenkins & all plugins. Running on Linux (SLES) server.

      In job's pipeline, I have the following:

       

      options { skipDefaultCheckout() }

       

      Git SCM polling never finds any changes for the repository. Same job, but without skipDefaultCheckout() in the pipeline causes Git polling to work as expected.

        1. Jenkinsfile
          0.2 kB
        2. config.xml
          2 kB

            Assignee:
            Unassigned
            Reporter:
            Matt G
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: