diff --git a/Jenkinsfile b/Jenkinsfile index 04cd439..8ae1fb8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -71,5 +71,16 @@ pipeline{ } } + stage('Deploy') { + when { + branch 'kjug' + } + agent { label 'master' } + steps { + input message: 'Are you sure to deploy?' + unstash 'exec_files' + sh 'scp -r -o StrictHostKeyChecking=no dist/webapp root@172.17.0.3:/var/' + } + } } } \ No newline at end of file