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

Enhance logging to shows that a reference repository is being used

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • git-client-plugin
    • None

      When configuring a reference repository in the Git SCM (configuration of the Additional Behavior > Advanced Clone Options), the console output does not show anything about the fact that it is using a reference repository. So it is hard to confirm whether the configuration is applied and operational. However any error would be logged correctly - referring to the code

      It would be great if there was a line telling that the clone points to a reference repository.

      Note: We can check that when the repository is cloned in a workspace, the .git directory has a file objects/info/alternates which contains the location of the reference repository (under $JENKINS_HOME/workspace/<jobName>/.git).

            allan_burdajewicz Allan BURDAJEWICZ
            allan_burdajewicz Allan BURDAJEWICZ
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: