fix(argo): invalid env ref for ArgoApplicationVersionUpdater
Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
parent
68de66857c
commit
ba85afaa0e
@ -31,7 +31,9 @@ class ArgoApplicationVersionUpdater {
|
||||
steps.withCredentials([steps.usernamePassword(credentialsId: 'freeleaps-ops-credentials', passwordVariable: 'OPS_GIT_PASSWORD', usernameVariable: 'OPS_GIT_USERNAME')]) {
|
||||
steps.sh """
|
||||
echo "Install required tools for git..."
|
||||
apt-get -y update && apt-get install -y --no-install-recommends git apt-transport-https ca-certificates curl wget gnupg
|
||||
apt-get -y update && apt-get install -y --no-install-recommends git apt-transport-https ca-certificates gnupg
|
||||
echo "Set ${workspace} as a safe directory..."
|
||||
git config --global --add safe.directory ${workspace}
|
||||
echo "Configure git user..."
|
||||
git config user.name "freeleaps-gitops-bot"
|
||||
git config user.email "gitops@mathmast.com"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user