Skip to content

Commit

Permalink
Update JenkinsfileCI
Browse files Browse the repository at this point in the history
  • Loading branch information
opswithranjan authored Nov 24, 2022
1 parent 3bc5dce commit 27371c7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions JenkinsfileCI
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ pipeline {
sh "rm -r /home/jenkins/workspace/Frontend/build"
}
}
stage("NPM Install") {
steps {
sh "export NODE_OPTIONS=--max_old_space_size=8192"
sh "npm install --save --legacy-peer-deps"
}
}
stage("Creat Build") {
steps {
sh "npm run build"
Expand Down

0 comments on commit 27371c7

Please sign in to comment.