From 78e66fad2bb57720ba83a353d38e2acf7a5e6fee Mon Sep 17 00:00:00 2001 From: Ravi Date: Tue, 28 Mar 2023 07:46:52 +0530 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 57b69601..a6b1fae1 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -6,9 +6,12 @@ pipeline { steps { echo 'Building..' sh 'ls' - sh 'cd webapp' - sh 'npm install' - sh 'npm run build' + //sh 'cd webapp' + dir('webapp') { + sh 'npm install' + sh 'npm run build' + } + } } stage('Test') {