chore(jenkins): use global git config for credentials
arcad/emissary/pipeline/head Something is wrong with the build of this commit Details

This commit is contained in:
wpetit 2023-03-31 17:31:44 +02:00
parent 273265c3ef
commit c638fe102b
1 changed files with 3 additions and 2 deletions

5
Jenkinsfile vendored
View File

@ -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
''' '''