diff --git a/ci/docs_test_ru b/ci/docs_test_ru index ee992e5ebb..a0772bcd34 100644 --- a/ci/docs_test_ru +++ b/ci/docs_test_ru @@ -10,7 +10,10 @@ pipeline { withCredentials([string(credentialsId: 'neocities-test', variable: 'TOKEN')]) { powershell encoding: 'UTF-8', script:'oint --token $TOKEN --local "C:/ProgramData/Jenkins/.jenkins/workspace/Docs deploy (Test RU)/docs/docusaurus/build"' } - bat encoding: 'UTF-8', script:'chcp 65001 & rmdir /s /q "C:/ProgramData/Jenkins/.jenkins/workspace/Docs deploy (Test RU)/docs/docusaurus/build"' + catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') { + bat encoding: 'UTF-8', script:'chcp 65001 & rmdir /s /q "C:/ProgramData/Jenkins/.jenkins/workspace/Docs deploy (Test RU)/docs/docusaurus/build"' + bat encoding: 'UTF-8', script:'chcp 65001 & rmdir /s /q "C:/ProgramData/Jenkins/.jenkins/workspace/Docs deploy (Test RU)/docs/docusaurus/node_modules"' + } } } }