-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
It would be nice if we had a withGit step that would pre-configure the git credentials from the current "scm" object and allows us to invoke git from the command line as follows:
withGit {
sh 'git fetch'
}
The step would rely on the same GIT_ASKPASS mechanism as used during a "standard" checkout.
- relates to
-
JENKINS-28335 Pipeline step to run Git commands with credentials & tool
- In Review