Fix for e2e tests apk upload in nightly build

Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
This commit is contained in:
yevh-berdnyk 2018-05-07 15:41:48 +03:00
parent d58d7c8b81
commit 4f979fba43
No known key found for this signature in database
GPG Key ID: E9B425FDFC4DEA9C
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ node ('macos1'){
println (artifact_dir + 'app-release.apk') println (artifact_dir + 'app-release.apk')
def artifact = (artifact_dir + 'app-release.apk') def artifact = (artifact_dir + 'app-release.apk')
def server = Artifactory.server('artifacts') def server = Artifactory.server('artifacts')
def shortCommit = sh(returnStdout: true, script: 'git rev-parse HEAD').trim().take(6) shortCommit = sh(returnStdout: true, script: 'git rev-parse HEAD').trim().take(6)
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 ('cp ' + artifact + ' ' + newArtifact) sh ('cp ' + artifact + ' ' + newArtifact)