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

Ability to force clone

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • mercurial-plugin
    • None

      Unlike git, the Mercurial "checkout" command only offers a "Clean Build" option which is used to purge the working directory.

      We need an equivalent of the "Wipe workspace and force clone" functionality available to the git plugin. Specifically, I am running into problems where the local repository contains more commits than the remote which is causing problems. I need to force a re-clone; otherwise, the script will need to be able to recover from a partially-updated repository after a failed build.

            Unassigned Unassigned
            cowwoc cowwoc
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: