Browse Source

Jenkins fixes

master
flashlan 4 years ago
parent
commit
a730722a7b
  1. 4
      Jenkinsfile

4
Jenkinsfile

@ -7,7 +7,7 @@ pipeline {
stages { stages {
stage('Build') { stage('Build') {
steps { steps {
sh 'rm -rf node_modules' // sh 'rm -rf node_modules'
//sh 'sudo apt-get update && sudo apt-get -y --no-install-recommends install && sudo apt-get clean' //sh 'sudo apt-get update && sudo apt-get -y --no-install-recommends install && sudo apt-get clean'
//sh 'sudo apt-get install -y curl ' //sh 'sudo apt-get install -y curl '
//sh 'curl -sL https://deb.nodesource.com/setup_14.x | sudo bash -' //sh 'curl -sL https://deb.nodesource.com/setup_14.x | sudo bash -'
@ -16,6 +16,8 @@ pipeline {
//sh 'npm install --legacy-peer-deps' //sh 'npm install --legacy-peer-deps'
sh 'sudo npm install -g yarn' sh 'sudo npm install -g yarn'
sh 'npm install' sh 'npm install'
sh 'npm run build'
} }
} }
stage('Test') { stage('Test') {

Loading…
Cancel
Save