From f7ab70ad5ac7ec0f8b1155deff48364b62d4067c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Fri, 8 Mar 2019 11:32:15 +0100 Subject: [PATCH] post diawi link to ghcmgr for ios MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- ci/ghcmgr.groovy | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ci/ghcmgr.groovy b/ci/ghcmgr.groovy index bc21ff5e6a..97d47e0cf9 100644 --- a/ci/ghcmgr.groovy +++ b/ci/ghcmgr.groovy @@ -9,6 +9,11 @@ utils = load 'ci/utils.groovy' **/ def buildObj(success) { + def pkg_url = env.PKG_URL + /* a bare ipa file is not installable on iOS */ + if (env.BUILD_PLATFORM == 'ios') { + pkg_url = env.DIAWI_URL + } /* assemble build object valid for ghcmgr */ return [ id: env.BUILD_DISPLAY_NAME, @@ -17,7 +22,7 @@ def buildObj(success) { platform: env.BUILD_PLATFORM + (utils.getBuildType() == 'e2e' ? '-e2e' : ''), duration: utils.buildDuration(), url: currentBuild.absoluteUrl, - pkg_url: env.PKG_URL, + pkg_url: pkg_url, ] }