Printing tags

This commit is contained in:
paola.rozo 2020-08-26 01:46:43 -05:00
parent b8e587a5bd
commit 77213c4258

6
Jenkinsfile vendored
View file

@ -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")
}
}
}
}