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

mercurial SCM always clones (instead of pulling) when using https

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • mercurial-plugin
    • Xubuntu 12.04 precise, Java 1.6.0_24, hg 2.0.2, Jenkins 1.493, Jenkins Mercurial Plugin 1.42

      Hi,
      I am observing that the Jenkins Mercurial plugin always performs a full clone instead of a pull when I start a build.
      There were reports that this happens when the debug option is on for the mercurial plugin, but this is supposed to be fixed and this option isn't even on.

      I posted a log below and attached screenshots of the relevant options.

      Started by user Matthias Kauer
      Building in workspace /var/lib/jenkins/jobs/pyunittest/workspace
      [workspace] $ hg showconfig paths.default
      ERROR: Workspace reports paths.default as https://matthias_tumcreate@bitbucket.org/matthias_tumcreate/pyunittest
      which looks different than https://matthias_tumcreate:xxxx@bitbucket.org/matthias_tumcreate/pyunittest
      so falling back to fresh clone rather than incremental update
      $ hg clone --rev default --noupdate https://matthias_tumcreate:xxxx@bitbucket.org/matthias_tumcreate/pyunittest /var/lib/jenkins/jobs/pyunittest/workspace
      adding changesets
      adding manifests
      adding file changes
      added 1 changesets with 4 changes to 4 files
      [workspace] $ hg update --rev default
      4 files updated, 0 files merged, 0 files removed, 0 files unresolved

        1. jenkins_mercurialclones1.jpg
          48 kB
          Matthias Kauer
        2. jenkins_mercurialclones2.jpg
          82 kB
          Matthias Kauer

            jglick Jesse Glick
            matthiask Matthias Kauer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: