diff --git a/Jenkinsfile b/Jenkinsfile index 4711666..f015c2e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -87,7 +87,7 @@ stage('build and push image to gitlab') { sh ''' git checkout master git pull origin master - git rm -f Jenkinsfile + git rm -f Jenkinsfile || echo "No Jenkinsfile to remove from git" git rm -r --cached .vscode || echo "No .vscode to remove from git" git remote add master https://sourcecode.confdroid.com/confdroid/confdroid_pgbouncer.git git -c credential.helper="!f() { echo username=${GITEA_USER}; echo password=${GITEA_TOKEN}; }; f" \