[FIX] fix apk path for releases

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
This commit is contained in:
Eric Dvorsak 2018-02-13 15:22:41 +01:00
parent 8ecde7feb6
commit 8b4b083b50
No known key found for this signature in database
GPG Key ID: 932AC1CE5F05DE0C
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ node ('macos1'){
def filename = 'im.status.ethereum-' + shortCommit + '.apk'
def newArtifact = (artifact_dir + filename)
sh ('mv ' + artifact + ' ' + newArtifact)
def uploadSpec = '{ "files": [ { "pattern": "*apk/' + filename + '", "target": "nightlies-local" }]}'
def uploadSpec = '{ "files": [ { "pattern": "*apk/release/' + filename + '", "target": "nightlies-local" }]}'
def buildInfo = server.upload(uploadSpec)
apkUrl = 'http://artifacts.status.im:8081/artifactory/nightlies-local/' + filename