Mise à jour de 'Jenkinsfile'

This commit is contained in:
dandanalaa committed 2022-12-10 23:38:30 +00:00
1 parent f16bf70477
commit 3150580fb5
1 file changed
+13 -1
Vendored
+13 -1
View File
@@ -1,5 +1,10 @@
pipeline { pipeline {
agent any agent {
docker {
image 'node:lts-buster-slim'
args '-p 3500:3000'
}
}
stages { stages {
stage('Env reinit') { stage('Env reinit') {
parallel { parallel {
@@ -52,6 +57,13 @@ pipeline {
sh 'npm test & sleep 1' sh 'npm test & sleep 1'
} }
} }
stage('Deliver') {
steps {
sh './scripts/deliver.sh'
input message: 'Finished using the web site? (Click "Proceed" to continue)'
sh './scripts/kill.sh'
}
}
} }
tools { tools {