jenkinsci / jenkinsci/git-plugin

[JENKINS-56897] Support general purpose authenticated git operations in Pipeline

Open
#3,421 3 comments 0 reactions 0 assignees View on GitHub
component:git-plugin enhancement imported-jira-issue priority:minor resolution:unresolved
Dominant language
Java
Stars
694
Forks
1.1k
Avg merge
1h 29m
Merged PRs (30d)
3

Description

Support git clone --mirror in Git plugin to enable usage of credentials via GIT_ASKPASS for mirroring the repositories. It would be great to have generic

withCredentials() {

git.sh "clone --mirror ...."
git.sh "push --mirror"
}

---
Originally reported by alexey_pelykh, imported from: Support general purpose authenticated git operations in Pipeline


  • status: Open
  • priority: Minor
  • component(s): git-plugin
  • resolution: Unresolved
  • votes: 1
  • watchers: 3
  • imported: 2025-12-02

Raw content of original issue

Support git clone --mirror in Git plugin to enable usage of credentials via GIT_ASKPASS for mirroring the repositories. It would be great to have generic



withCredentials() {

git.sh "clone --mirror ...."
git.sh "push --mirror"
}

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.