fixed path to local file for upload

This commit is contained in:
Ivan Borovkov 2018-01-14 15:39:10 +02:00
parent eab79e8a0f
commit 4bab66ea30
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,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