Echo apkUrl and ipaUrl
Useful while Slack notifications are down for QA
This commit is contained in:
parent
3545969d87
commit
0403a7cdc1
|
@ -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)
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue