Commiting tags
This commit is contained in:
parent
ca3177b17b
commit
dbff7dda78
1 changed files with 10 additions and 0 deletions
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
|
@ -46,5 +46,15 @@ pipeline {
|
|||
}
|
||||
}
|
||||
}
|
||||
stage("Tag and Push") {
|
||||
when { branch 'master' }
|
||||
steps {
|
||||
steps {
|
||||
sshagent (credentials: ['jenkins-generated-ssh-key']) {
|
||||
sh 'git push --tags'
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue