Fix for e2e tests apk upload in nightly build
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
This commit is contained in:
parent
d58d7c8b81
commit
4f979fba43
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue