[FIX] fix apk path for releases
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
This commit is contained in:
parent
8ecde7feb6
commit
8b4b083b50
|
@ -70,7 +70,7 @@ node ('macos1'){
|
||||||
def filename = 'im.status.ethereum-' + shortCommit + '.apk'
|
def filename = 'im.status.ethereum-' + shortCommit + '.apk'
|
||||||
def newArtifact = (artifact_dir + filename)
|
def newArtifact = (artifact_dir + filename)
|
||||||
sh ('mv ' + artifact + ' ' + newArtifact)
|
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)
|
def buildInfo = server.upload(uploadSpec)
|
||||||
apkUrl = 'http://artifacts.status.im:8081/artifactory/nightlies-local/' + filename
|
apkUrl = 'http://artifacts.status.im:8081/artifactory/nightlies-local/' + filename
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue