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

Add GIT_SPARSE or similar environment variable

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major Major
    • git-plugin
    • Git Plugin = 2.2.2
      Jenkins = 1.574

      Add a GIT_SPARSE and GIT_SPARSE_N environment variables when sparse locations are entered.

          [JENKINS-24086] Add GIT_SPARSE or similar environment variable

          Mark Waite added a comment -

          Can't you just read the contents of .git/info/sparse-checkout? That is the file which git uses to record the definition of the sparse checkout, and it doesn't require that you determine how many environment variables were set.

          Mark Waite added a comment - Can't you just read the contents of .git/info/sparse-checkout? That is the file which git uses to record the definition of the sparse checkout, and it doesn't require that you determine how many environment variables were set.

            ndeloof Nicolas De Loof
            davidruhmann David Ruhmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: