Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Groovy 0.22 KB | None | 0 0
  1. pipeline {
  2.     agent any
  3.     stages {
  4.         stage('Build') {
  5.             steps {
  6.                 sh 'mvn install'
  7.             }
  8.             post {
  9.                 always {
  10.                     echo 'stage scope'
  11.                 }
  12.             }
  13.         }
  14.     }
  15.     post {
  16.         always {
  17.             echo 'pipeline scope'
  18.         }
  19.     }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement