Skip to content

Commit

Permalink
[android, build] Fix Android.Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
charlag committed Sep 20, 2021
1 parent 6165619 commit 7615ef8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Android.Jenkinsfile
Expand Up @@ -46,7 +46,7 @@ pipeline {
]) {
sh 'node android.js -b release prod'
}
stash includes: "build/app-android/tutanota-tutao-${VERSION}-release.apk", name: 'apk'
stash includes: "build/app-android/tutanota-tutao-release-${VERSION}.apk", name: 'apk'
}
}

Expand All @@ -68,7 +68,7 @@ pipeline {
]) {
sh 'node android.js -b releaseTest test'
}
stash includes: "build/app-android/tutanota-tutao-${VERSION}-releaseTest.apk", name: 'apk'
stash includes: "build/app-android/tutanota-tutao-releaseTest-${VERSION}.apk", name: 'apk'
}
}

Expand All @@ -83,7 +83,7 @@ pipeline {
unstash 'apk'

script {
def filePath = "build/app-android/tutanota-tutao-${VERSION}-release.apk"
def filePath = "build/app-android/tutanota-tutao-release-${VERSION}.apk"
def tag = "tutanota-android-release-${VERSION}"
def util = load "jenkins-lib/util.groovy"

Expand Down Expand Up @@ -130,7 +130,7 @@ pipeline {
util.publishToNexus(groupId: "app",
artifactId: "android-test",
version: "${VERSION}",
assetFilePath: "${WORKSPACE}/build/app-android/tutanota-tutao-${VERSION}-releaseTest.apk",
assetFilePath: "${WORKSPACE}/build/app-android/tutanota-tutao-releaseTest-${VERSION}.apk",
fileExtension: 'apk'
)

Expand All @@ -139,7 +139,7 @@ pipeline {
// this happens because the AppId is set to de.tutao.tutanota.test by the android build
// and play store knows which app to publish just based on the id
androidApkUpload(googleCredentialsId: 'android-app-publisher-credentials',
apkFilesPattern: "build/app-android/tutanota-tutao-${VERSION}-releaseTest.apk",
apkFilesPattern: "build/app-android/tutanota-tutao-releaseTest-${VERSION}.apk",
trackName: 'internal',
rolloutPercentage: '100%')
}
Expand Down

0 comments on commit 7615ef8

Please sign in to comment.