chore(jenkins): use global git config for credentials
Some checks reported errors
arcad/emissary/pipeline/head Something is wrong with the build of this commit
Some checks reported errors
arcad/emissary/pipeline/head Something is wrong with the build of this commit
This commit is contained in:
parent
273265c3ef
commit
c638fe102b
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -21,8 +21,9 @@ pipeline {
|
||||
])
|
||||
]) {
|
||||
sh '''
|
||||
git config 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.username "$GIT_USERNAME"
|
||||
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
|
||||
make test
|
||||
'''
|
||||
|
Loading…
Reference in New Issue
Block a user