don't provide --apk=, it's already there

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2019-07-01 11:39:16 -04:00
parent 138ade3b8d
commit cca2af6875
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
4 changed files with 16 additions and 6 deletions

View File

@ -106,7 +106,7 @@ pipeline {
e2eApk = cmn.utils.getEnv(apke2e, 'SAUCE_URL')
build(
job: 'end-to-end-tests/status-app-nightly', wait: false,
parameters: [string(name: 'apk', value: "--apk=${e2eApk}")]
parameters: [string(name: 'APK_NAME', value: e2eApk)]
)
} }
}

View File

@ -51,9 +51,13 @@ pipeline {
post {
always {
script {
sauce('12e007ad-48cf-4c20-92f3-b923bb5641bd') {
sauce('sauce-labs-cred') {
saucePublisher()
}
}
}
success {
script {
junit(
testDataPublishers: [[$class: 'SauceOnDemandReportPublisher', jobVisibility: 'public']],
testResults: 'test/appium/tests/*.xml'

View File

@ -71,8 +71,11 @@ def uploadToSauceLabs() {
env.SAUCE_LABS_NAME = "${pkg}"
}
withCredentials([
string(credentialsId: 'SAUCE_ACCESS_KEY', variable: 'SAUCE_ACCESS_KEY'),
string(credentialsId: 'SAUCE_USERNAME', variable: 'SAUCE_USERNAME'),
usernamePassword(
credentialsId: 'sauce-labs-api',
usernameVariable: 'SAUCE_USERNAME',
passwordVariable: 'SAUCE_ACCESS_KEY'
),
]) {
nix.shell(
'fastlane android saucelabs',

View File

@ -81,8 +81,11 @@ def uploadToSauceLabs() {
env.SAUCE_LABS_NAME = "im.status.ethereum-e2e-${utils.gitCommit()}.app.zip"
}
withCredentials([
string(credentialsId: 'SAUCE_ACCESS_KEY', variable: 'SAUCE_ACCESS_KEY'),
string(credentialsId: 'SAUCE_USERNAME', variable: 'SAUCE_USERNAME'),
usernamePassword(
credentialsId: 'sauce-labs-api',
usernameVariable: 'SAUCE_USERNAME',
passwordVariable: 'SAUCE_ACCESS_KEY'
),
]) {
nix.shell(
'bundle exec --gemfile=fastlane/Gemfile fastlane ios saucelabs',