From cecba424cd203fa23617e8d9bfd3aaf45e790448 Mon Sep 17 00:00:00 2001 From: flashlan Date: Tue, 16 Nov 2021 11:45:12 -0300 Subject: [PATCH] Jenkins fixes --- Jenkinsfile | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index ddcef19..aed714a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -7,16 +7,16 @@ pipeline { stages { stage('Build') { steps { - 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 install -y curl ' - //sh 'curl -sL https://deb.nodesource.com/setup_14.x | sudo bash -' - //sh 'sudo apt-get install -y nodejs && sudo apt-get install -y nginx' - //sh 'sudo npm install -g npm@latest' - //sh 'npm install --legacy-peer-deps' - sh 'sudo npm install -g yarn' + // 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 install -y curl ' + // sh 'curl -sL https://deb.nodesource.com/setup_14.x | sudo bash -' + // sh 'sudo apt-get install -y nodejs && sudo apt-get install -y nginx' + // sh 'sudo npm install -g npm@latest' + // sh 'npm install --legacy-peer-deps' + // sh 'sudo npm install -g yarn' sh 'npm install' - sh 'npm run build' + sh 'CI=false npm run build' } }