From 0403a7cdc1abd6b111029a96c07d4fd97420fc36 Mon Sep 17 00:00:00 2001 From: Oskar Thoren Date: Mon, 27 Nov 2017 15:54:08 +0100 Subject: [PATCH] Echo apkUrl and ipaUrl Useful while Slack notifications are down for QA --- Jenkinsfile | 5 +++++ Jenkinsfile.nightly | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 260e60e57e..00c76c7956 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -44,6 +44,8 @@ node ('macos1') { sh 'sleep 10' def hash = sh(returnStdout: true, script: "curl -vvv 'https://upload.diawi.com/status?token="+token+"&job="+job+"'|jq -r '.hash'").trim() apkUrl = 'https://i.diawi.com/' + hash + + sh ('echo ARTIFACT Android: ' + apkUrl) } } @@ -69,6 +71,9 @@ node ('macos1') { sh 'sleep 10' def hash = sh(returnStdout: true, script: "curl -vvv 'https://upload.diawi.com/status?token="+token+"&job="+job+"'|jq -r '.hash'").trim() ipaUrl = 'https://i.diawi.com/' + hash + + sh ('echo ARTIFACT iOS: ' + ipaUrl) + } } diff --git a/Jenkinsfile.nightly b/Jenkinsfile.nightly index 85e1e33521..c20849953f 100644 --- a/Jenkinsfile.nightly +++ b/Jenkinsfile.nightly @@ -60,6 +60,8 @@ node ('macos1'){ def uploadSpec = '{ "files": [ { "pattern": "*apk/' + filename + '", "target": "nightlies-local" }]}' def buildInfo = server.upload(uploadSpec) apkUrl = 'http://artifacts.status.im:8081/artifactory/nightlies-local/' + filename + + sh ('echo ARTIFACT Android: ' + apkUrl) } stage('Deploy (iOS)') { @@ -68,6 +70,8 @@ node ('macos1'){ sh 'sleep 10' def hash = sh(returnStdout: true, script: "curl -vvv 'https://upload.diawi.com/status?token="+token+"&job="+job+"'|jq -r '.hash'").trim() ipaUrl = 'https://i.diawi.com/' + hash + + sh ('echo ARTIFACT iOS: ' + ipaUrl) } } } catch (e) {