Add npm install fallback and remove unused variable
Added a fallback npm install command in the Jenkinsfile to handle legacy peer dependencies. Also removed an unused variable from genericForm.tsx to improve code clarity and performance.
This commit is contained in:
Vendored
+6
@@ -39,6 +39,12 @@ pipeline {
|
||||
echo "Retry ${retryCount}/${MAX_RETRIES} failed"
|
||||
}
|
||||
}
|
||||
try {
|
||||
sh 'npm install --legacy-peer-deps --force'
|
||||
success = true
|
||||
} catch (Exception e4) {
|
||||
echo "npm install --legacy-peer-deps --force failed"
|
||||
}
|
||||
}
|
||||
|
||||
if (!success) {
|
||||
|
||||
Reference in New Issue
Block a user