-
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
-
brenuart if you do not mind, could you also provide the "utils" Groovy script? I'm sorry it's triggering error one by one, I was thinking "utils" was included.
I'm sure it will help some others
Unable to render embedded object: File ( Thanks) not found.