added JenkinsFile

This commit is contained in:
2021-11-16 09:39:50 -03:00
parent f293e463ab
commit 407c5a33c0
Vendored
+4 -4
View File
@@ -7,10 +7,10 @@ pipeline {
stages { stages {
stage('Build') { stage('Build') {
steps { steps {
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 -'
sh 'sudo apt-get install -y nodejs && sudo apt-get install -y nginx' //sh 'sudo apt-get install -y nodejs && sudo apt-get install -y nginx'
sh 'npm install' sh 'npm install'
} }
} }