diff --git a/ci/Jenkinsfile.ios b/ci/Jenkinsfile.ios index 9d60461791..923d3eea76 100644 --- a/ci/Jenkinsfile.ios +++ b/ci/Jenkinsfile.ios @@ -78,7 +78,9 @@ pipeline { } stage('Upload') { steps { script { - env.DIAWI_URL = ios.uploadToDiawi() + catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { + env.DIAWI_URL = ios.uploadToDiawi() + } env.PKG_URL = env.DIAWI_URL jenkins.setBuildDesc(IPA: env.PKG_URL) } }