ci: don't fail on Diawi upload failure

This commit is contained in:
Anton Iakimov 2024-01-15 11:43:19 +01:00
parent 6aa981d4a7
commit 36168256bf
No known key found for this signature in database
GPG Key ID: DEA1FE58DD8BF7FA
1 changed files with 3 additions and 1 deletions

View File

@ -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)
} }