From a730722a7b688b07be6aebf344481d3ab4c816d3 Mon Sep 17 00:00:00 2001 From: flashlan Date: Tue, 16 Nov 2021 11:19:00 -0300 Subject: [PATCH] Jenkins fixes --- Jenkinsfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index e41fc58..05e8ec1 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -7,7 +7,7 @@ pipeline { stages { stage('Build') { 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 install -y curl ' //sh 'curl -sL https://deb.nodesource.com/setup_14.x | sudo bash -' @@ -15,7 +15,9 @@ pipeline { //sh 'sudo npm install -g npm@latest' //sh 'npm install --legacy-peer-deps' sh 'sudo npm install -g yarn' - sh 'npm install' + sh 'npm install' + sh 'npm run build' + } } stage('Test') {