don't provide --apk=, it's already there
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
138ade3b8d
commit
cca2af6875
|
@ -106,7 +106,7 @@ pipeline {
|
||||||
e2eApk = cmn.utils.getEnv(apke2e, 'SAUCE_URL')
|
e2eApk = cmn.utils.getEnv(apke2e, 'SAUCE_URL')
|
||||||
build(
|
build(
|
||||||
job: 'end-to-end-tests/status-app-nightly', wait: false,
|
job: 'end-to-end-tests/status-app-nightly', wait: false,
|
||||||
parameters: [string(name: 'apk', value: "--apk=${e2eApk}")]
|
parameters: [string(name: 'APK_NAME', value: e2eApk)]
|
||||||
)
|
)
|
||||||
} }
|
} }
|
||||||
}
|
}
|
||||||
|
|
|
@ -51,9 +51,13 @@ pipeline {
|
||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
script {
|
script {
|
||||||
sauce('12e007ad-48cf-4c20-92f3-b923bb5641bd') {
|
sauce('sauce-labs-cred') {
|
||||||
saucePublisher()
|
saucePublisher()
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
success {
|
||||||
|
script {
|
||||||
junit(
|
junit(
|
||||||
testDataPublishers: [[$class: 'SauceOnDemandReportPublisher', jobVisibility: 'public']],
|
testDataPublishers: [[$class: 'SauceOnDemandReportPublisher', jobVisibility: 'public']],
|
||||||
testResults: 'test/appium/tests/*.xml'
|
testResults: 'test/appium/tests/*.xml'
|
||||||
|
|
|
@ -71,8 +71,11 @@ def uploadToSauceLabs() {
|
||||||
env.SAUCE_LABS_NAME = "${pkg}"
|
env.SAUCE_LABS_NAME = "${pkg}"
|
||||||
}
|
}
|
||||||
withCredentials([
|
withCredentials([
|
||||||
string(credentialsId: 'SAUCE_ACCESS_KEY', variable: 'SAUCE_ACCESS_KEY'),
|
usernamePassword(
|
||||||
string(credentialsId: 'SAUCE_USERNAME', variable: 'SAUCE_USERNAME'),
|
credentialsId: 'sauce-labs-api',
|
||||||
|
usernameVariable: 'SAUCE_USERNAME',
|
||||||
|
passwordVariable: 'SAUCE_ACCESS_KEY'
|
||||||
|
),
|
||||||
]) {
|
]) {
|
||||||
nix.shell(
|
nix.shell(
|
||||||
'fastlane android saucelabs',
|
'fastlane android saucelabs',
|
||||||
|
|
|
@ -81,8 +81,11 @@ def uploadToSauceLabs() {
|
||||||
env.SAUCE_LABS_NAME = "im.status.ethereum-e2e-${utils.gitCommit()}.app.zip"
|
env.SAUCE_LABS_NAME = "im.status.ethereum-e2e-${utils.gitCommit()}.app.zip"
|
||||||
}
|
}
|
||||||
withCredentials([
|
withCredentials([
|
||||||
string(credentialsId: 'SAUCE_ACCESS_KEY', variable: 'SAUCE_ACCESS_KEY'),
|
usernamePassword(
|
||||||
string(credentialsId: 'SAUCE_USERNAME', variable: 'SAUCE_USERNAME'),
|
credentialsId: 'sauce-labs-api',
|
||||||
|
usernameVariable: 'SAUCE_USERNAME',
|
||||||
|
passwordVariable: 'SAUCE_ACCESS_KEY'
|
||||||
|
),
|
||||||
]) {
|
]) {
|
||||||
nix.shell(
|
nix.shell(
|
||||||
'bundle exec --gemfile=fastlane/Gemfile fastlane ios saucelabs',
|
'bundle exec --gemfile=fastlane/Gemfile fastlane ios saucelabs',
|
||||||
|
|
Loading…
Reference in New Issue