Pipeline test

This commit is contained in:
Juan Ferrer 2019-01-08 16:07:21 +01:00
parent be6ff70826
commit 4e83febb80
1 changed files with 3 additions and 6 deletions

9
Jenkinsfile vendored
View File

@ -15,16 +15,13 @@ try {
node { node {
stage ('Checkout') { stage ('Checkout') {
hola adios
checkout scm checkout scm
} }
stage ('Install') {
nodejs('node-lts') {
sh "env NODE_ENV= npm install --no-audit"
sh "gulp install"
}
}
stage ('Build') { stage ('Build') {
nodejs('node-lts') { nodejs('node-lts') {
sh "env NODE_ENV= npm install --no-audit"
sh "gulp install"
sh "gulp build" sh "gulp build"
} }
} }