Guest User

Untitled

a guest
Jun 25th, 2018
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. pipeline {
  2. agent any
  3. stages {
  4. stage ('Prepare') {
  5. steps {
  6. git branch: 'tag1', url: 'git@bitbucket.org:moboxcompany/tests.git'
  7. }
  8. }
  9. stage ('Deploy') {
  10. when {
  11. tag "release*"
  12. }
  13. steps {
  14. sshPublisher(publishers: [sshPublisherDesc(configName: "JenkinsSrv", transfers: [sshTransfer(execCommand: 'pwd')])])
  15. }
  16. }
  17. }
  18. post ('POST BUILD'){
  19. always {
  20. echo 'This is post action!!!'
  21. }
  22. }
  23. }
Add Comment
Please, Sign In to add comment