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

Provide lightweight checkout capability for Mercurial

    XMLWordPrintable

Details

    • Improvement
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • mercurial-plugin
    • None
    • Jenkins 2.104
      Mercurial 2.3

    Description

      JENKINS-33273 introduced a lightweight checkout capability to download a Jenkinsfile from source control without checkout out the entire repository, but it appears this hasn't been implemented for Mercurial: "Lightweight checkout support not available, falling back to full checkout."

      Attachments

        Issue Links

          Activity

            kpop kpop added a comment -

            Perhaps it's an option to use the repository browser to access the latest version of the specified Jenkinsfile?

            kpop kpop added a comment - Perhaps it's an option to use the repository browser to access the latest version of the specified Jenkinsfile?
            kpop kpop added a comment -

            If my Mercurial source would be "http://myserver:8080/FolderName/RepoName" and the Jenkinsfile is located in "CI/Jenkinsfile", I'm able to get this Jenkinsfile through HTTP on "http://myserver:8080/FolderName/RepoName/raw-file/tip/CI/Jenkinsfile". Perhaps this is an easy solution to avoid the full checkout?

            kpop kpop added a comment - If my Mercurial source would be "http://myserver:8080/FolderName/RepoName" and the Jenkinsfile is located in "CI/Jenkinsfile", I'm able to get this Jenkinsfile through HTTP on "http://myserver:8080/FolderName/RepoName/ raw-file / tip /CI/Jenkinsfile". Perhaps this is an easy solution to avoid the full checkout?
            kpop kpop added a comment - This is also described in the official documentation https://www.mercurial-scm.org/wiki/TipsAndTricks#Create_links_to_snapshots_of_files_and_tarballs

            People

              Unassigned Unassigned
              kpop kpop
              Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: