ci: add public download url to build description

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2020-10-01 15:01:28 +02:00
parent bc12c90d2e
commit 93ed3eb7ff
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
2 changed files with 7 additions and 4 deletions

View File

@ -101,12 +101,14 @@ pipeline {
} else { /* if no universal is available pick first */ } else { /* if no universal is available pick first */
env.PKG_URL = urls.first() env.PKG_URL = urls.first()
} }
if (utils.isNightlyBuild()) { jenkins.setBuildDesc(APK: env.PKG_URL)
env.DIAWI_URL = android.uploadToDiawi() /* e2e builds get tested in SauceLabs */
}
if (utils.isE2EBuild()) { if (utils.isE2EBuild()) {
env.SAUCE_URL = android.uploadToSauceLabs() env.SAUCE_URL = android.uploadToSauceLabs()
} }
if (utils.isNightlyBuild()) {
env.DIAWI_URL = android.uploadToDiawi()
}
} }
} }
} }

View File

@ -99,8 +99,9 @@ pipeline {
steps { steps {
script { script {
env.PKG_URL = s3.uploadArtifact(api) env.PKG_URL = s3.uploadArtifact(api)
jenkins.setBuildDesc(IPA: env.PKG_URL)
/* e2e builds get tested in SauceLabs */ /* e2e builds get tested in SauceLabs */
if (btype == 'e2e') { if (utils.isE2EBuild()) {
env.SAUCE_URL = ios.uploadToSauceLabs() env.SAUCE_URL = ios.uploadToSauceLabs()
} else { } else {
env.DIAWI_URL = ios.uploadToDiawi() env.DIAWI_URL = ios.uploadToDiawi()