cpkg: add git username/email to allow push
This commit is contained in:
parent
22047c685a
commit
2f0f2c43ab
|
@ -34,6 +34,8 @@ def call(Map params = [:]) {
|
||||||
sh("git merge ${currentRef}")
|
sh("git merge ${currentRef}")
|
||||||
|
|
||||||
if (!skipPush) {
|
if (!skipPush) {
|
||||||
|
sh("git config user.email '${gitEmail}'")
|
||||||
|
sh("git config user.username '${gitUsername}'")
|
||||||
sh("git push")
|
sh("git push")
|
||||||
} else {
|
} else {
|
||||||
println("Skipping push. Set skipPush param to 'true' to enable remote repository update.")
|
println("Skipping push. Set skipPush param to 'true' to enable remote repository update.")
|
||||||
|
|
Loading…
Reference in New Issue