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:
parent
75559af7c8
commit
98b86363f5
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@ const GenericForm = (formData: FormData) => {
|
|||
const backend: string = formData.backend;
|
||||
const userInput: UserInput = formData.userInput;
|
||||
const spec: Yup.Schema<any> = formData.spec;
|
||||
const backendFormname = formData.backendFormName
|
||||
|
||||
const navigate = useNavigate();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user