Echo apkUrl and ipaUrl

Useful while Slack notifications are down for QA
This commit is contained in:
Oskar Thoren 2017-11-27 15:54:08 +01:00 committed by Oskar Thorén
parent 3545969d87
commit 0403a7cdc1
2 changed files with 9 additions and 0 deletions

5
Jenkinsfile vendored
View File

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

View File

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