|
|
@@ -14,9 +14,10 @@ pipeline {
|
|
|
}
|
|
|
stage('Deliver'){
|
|
|
steps {
|
|
|
- sh 'sudo ./jenkins/scripts/deliver.sh'
|
|
|
+ sh 'npm run build'
|
|
|
+ sh 'echo $! > .pidfile'
|
|
|
input message: 'Finished using the web site? (Click "Proceed" to continue)'
|
|
|
- sh 'sudo ./jenkins/scripts/kill.sh'
|
|
|
+ sh 'kill $(cat .pidfile)'
|
|
|
}
|
|
|
}
|
|
|
|