1
0
Fork 0
Dieser Commit ist enthalten in:
paola.rozo 2020-08-26 01:46:43 -05:00
Ursprung b8e587a5bd
Commit 77213c4258

6
Jenkinsfile gevendort
Datei anzeigen

@ -49,9 +49,9 @@ pipeline {
stage("Tag and Push") {
agent any
steps {
git branch: 'master', credentialsId: 'git-credentials-id', url: 'https://github.com/paolarozo/simple-python-pyinstaller-app.git'
sh 'git push --tags'
withCredentials([[$class: 'UsernamePasswordMultiBinding', credentialsId: 'git-credentials-id', usernameVariable: 'GIT_USERNAME', passwordVariable: 'GIT_PASSWORD']]) {
sh("git push https://${env.GIT_USERNAME}:${env.GIT_PASSWORD}@simple-java-maven-app.git --tags")
}
}
}
}