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

Git SCM polling fails with skipDefaultCheckout() in pipeline

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • 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. config.xml
          2 kB
          Matt G
        2. Jenkinsfile
          0.2 kB
          Matt G

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

              Created:
              Updated:
              Resolved: