Jenkins fixes

This commit is contained in:
2021-11-16 11:19:00 -03:00
parent 6d13346d6d
commit a730722a7b
Vendored
+3 -1
View File
@@ -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') {