diff options
author | Alexander Köplinger <alex.koeplinger@outlook.com> | 2019-07-26 00:45:15 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2019-07-26 00:47:24 +0300 |
commit | ad2405761bbfd9b79315029e5c8b1a3dd642dfea (patch) | |
tree | 9535cfbd43a0ba6fe914736a7afff4db81d41f23 /scripts | |
parent | 77ac509c0b6f11091881d8c9221a49d957eb1cb3 (diff) |
[sdks] Report xcode11 builds as a separate GitHub status
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/ci/pipeline/sdks-archive.groovy | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/ci/pipeline/sdks-archive.groovy b/scripts/ci/pipeline/sdks-archive.groovy index 2d2a7592931..620720b77e1 100644 --- a/scripts/ci/pipeline/sdks-archive.groovy +++ b/scripts/ci/pipeline/sdks-archive.groovy @@ -112,7 +112,7 @@ def archive (product, configuration, platform, chrootname = "", chrootadditional } try { stage('Build') { - utils.reportGitHubStatus (isPr ? env.ghprbActualCommit : commitHash, "Archive-${product}-${configuration}-${platform}", env.BUILD_URL, 'PENDING', 'Building...') + utils.reportGitHubStatus (isPr ? env.ghprbActualCommit : commitHash, "Archive-${product}-${configuration}-${platform}${xcode11 ? '-xcode11' : ''}", env.BUILD_URL, 'PENDING', 'Building...') // build the Archive timeout (time: 300, unit: 'MINUTES') { @@ -153,10 +153,10 @@ def archive (product, configuration, platform, chrootname = "", chrootadditional sh 'git clean -xdff' - utils.reportGitHubStatus (isPr ? env.ghprbActualCommit : commitHash, "Archive-${product}-${configuration}-${platform}", "https://xamjenkinsartifact.azureedge.net/${azureContainerName}/${packageFileName}", 'SUCCESS', packageFileName) + utils.reportGitHubStatus (isPr ? env.ghprbActualCommit : commitHash, "Archive-${product}-${configuration}-${platform}${xcode11 ? '-xcode11' : ''}", "https://xamjenkinsartifact.azureedge.net/${azureContainerName}/${packageFileName}", 'SUCCESS', packageFileName) } catch (Exception e) { - utils.reportGitHubStatus (isPr ? env.ghprbActualCommit : commitHash, "Archive-${product}-${configuration}-${platform}", env.BUILD_URL, 'FAILURE', "Build failed.") + utils.reportGitHubStatus (isPr ? env.ghprbActualCommit : commitHash, "Archive-${product}-${configuration}-${platform}${xcode11 ? '-xcode11' : ''}", env.BUILD_URL, 'FAILURE', "Build failed.") throw e } } |