Merge pull request #3032 from status-im/bugfix/path-to-apk-android-artifactory

fixed path to local file for upload
This commit is contained in:
Ivan Borovkov 2018-01-15 11:28:16 +02:00 committed by GitHub
commit 9f6d8d7090
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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