Printing tags
This commit is contained in:
parent
b8e587a5bd
commit
77213c4258
1 changed files with 3 additions and 3 deletions
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
|
@ -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")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue