Change Jenkinsfile

This commit is contained in:
Igor 2019-11-23 17:29:50 +01:00
parent 990ef81b16
commit 3c649b6948
1 changed files with 6 additions and 0 deletions

View File

@ -5,13 +5,19 @@ pipeline {
stages {
stage('Install node modules'){
steps {
sh "npm install"
}
}
stage('Build'){
steps {
sh "npm run build:ssr"
}
}
stage('Deploy'){
steps {
sh "pm2 restart all"
}
}
}
}