Jenkins fixes

This commit is contained in:
2021-11-16 10:57:17 -03:00
parent 0c8e976774
commit 4009faea57
Vendored
+2
View File
@@ -7,12 +7,14 @@ 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 'npm install'
}
}