chore(jenkins): use global git config for credentials
arcad/emissary/pipeline/head Something is wrong with the build of this commit
Details
arcad/emissary/pipeline/head Something is wrong with the build of this commit
Details
This commit is contained in:
parent
273265c3ef
commit
c638fe102b
|
@ -21,8 +21,9 @@ pipeline {
|
||||||
])
|
])
|
||||||
]) {
|
]) {
|
||||||
sh '''
|
sh '''
|
||||||
git config credential.https://forge.cadoles.com.username "$GIT_USERNAME"
|
git config --global credential.https://forge.cadoles.com.username "$GIT_USERNAME"
|
||||||
git config credential.https://forge.cadoles.com.helper '!f() { test "$1" = get && echo "password=$GIT_PASSWORD"; }; f'
|
git config --global credential.https://forge.cadoles.com.helper '!f() { test "$1" = get && echo "password=$GIT_PASSWORD"; }; f'
|
||||||
|
|
||||||
export GOPRIVATE=forge.cadoles.com/arcad/edge
|
export GOPRIVATE=forge.cadoles.com/arcad/edge
|
||||||
make test
|
make test
|
||||||
'''
|
'''
|
||||||
|
|
Loading…
Reference in New Issue