diff --git a/Jenkinsfile b/Jenkinsfile index f3243310..fb6b43a3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -13,9 +13,10 @@ node("Diligence") { try { stage('PreBuild') { - sh "cd StabilityMatrix" - sh "rm ./StabilityMatrix.Avalonia/Languages/Resources.zh-Hans.resx" - sh "rm ./StabilityMatrix.Avalonia/Languages/Resources.zh-Hant.resx" + dir('StabilityMatrix') { + sh "rm ./StabilityMatrix.Avalonia/Languages/Resources.zh-Hans.resx" + sh "rm ./StabilityMatrix.Avalonia/Languages/Resources.zh-Hant.resx" + } } stage('Test') {