diff --git a/Jenkinsfile b/Jenkinsfile index 793e453..137d2ea 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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) { diff --git a/src/components/form/genericForm.tsx b/src/components/form/genericForm.tsx index df5466f..5f7b294 100644 --- a/src/components/form/genericForm.tsx +++ b/src/components/form/genericForm.tsx @@ -11,7 +11,6 @@ const GenericForm = (formData: FormData) => { const backend: string = formData.backend; const userInput: UserInput = formData.userInput; const spec: Yup.Schema = formData.spec; - const backendFormname = formData.backendFormName const navigate = useNavigate();