GitHubSCMBuilder does not respect clone depth parameter in pull requests

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Trying to build a pull request on my github repo and facing with build failure due to timeout.

      I've set shallow cloneĀ depth option to 1, but the log shows that "--depth" parameter is missing. Seems like that option is respected in branches only.

      So, git is trying to do a full repo clone, which is currently 600 MB. Able to workaround that by setting a 1 hour timeout, But that's absolutely insane: just to assure that a pull request is fine, I have to wait for an hour to start theĀ check script.

      Probably, related to -JENKINS-45771-, maybe a separate shallow clone options would be more preferrable rather than ignoring it for some weird reason.

      Ā 

            Assignee:
            Kirill Merkushev
            Reporter:
            Sergey Galezdinov
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: