feature/kjug
deploy added
This commit is contained in:
parent
e02ea3fd3f
commit
e45b50d2e3
1 changed files with 11 additions and 0 deletions
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
|
@ -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/'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue