From d063673c7796156b617676a9654a39812c0c0bc7 Mon Sep 17 00:00:00 2001 From: flashlan Date: Tue, 16 Nov 2021 09:34:43 -0300 Subject: [PATCH] added JenkinsFile --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index f04925a..05c57ee 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -9,7 +9,7 @@ pipeline { steps { 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 curl -sL https://deb.nodesource.com/setup_14.x | 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 'npm install' }