jenkinsci / jenkinsci/git-plugin
[JENKINS-56897] Support general purpose authenticated git operations in Pipeline
Open
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
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
Assessment
This issue has not been assessed yet.