Use Yarn in Jenkins Electron Builds (#1512)

This commit is contained in:
Danny Skubak 2018-04-13 12:33:49 -04:00 committed by Daniel Ternyak
parent 7320413dab
commit 7da50ae52a
4 changed files with 4 additions and 4 deletions

View File

@ -14,7 +14,7 @@ pipeline {
} }
steps { steps {
sh 'rm -rf node_modules' sh 'rm -rf node_modules'
sh 'npm install' sh 'yarn'
} }
} }
stage('Build') { stage('Build') {

View File

@ -7,7 +7,7 @@ pipeline {
stages { stages {
stage('Install') { stage('Install') {
steps { steps {
sh 'npm install' sh 'yarn'
} }
} }
stage('Build') { stage('Build') {

View File

@ -16,7 +16,7 @@ pipeline {
} }
steps { steps {
sh 'rm -rf node_modules' sh 'rm -rf node_modules'
sh 'npm install' sh 'yarn'
} }
} }
stage('Build') { stage('Build') {

View File

@ -18,7 +18,7 @@ pipeline {
} }
steps { steps {
sh 'rm -rf node_modules' sh 'rm -rf node_modules'
sh 'npm install' sh 'yarn'
} }
} }
stage('Build') { stage('Build') {