82 lines
2.9 KiB
YAML
82 lines
2.9 KiB
YAML
---
|
|
- job:
|
|
name: qa-mobile-appium-tests
|
|
description: "Appium mobile тесты (hw7) с автоскачиванием APK через APP_URL."
|
|
project-type: pipeline
|
|
concurrent: true
|
|
sandbox: true
|
|
properties:
|
|
- build-discarder:
|
|
num-to-keep: 30
|
|
parameters:
|
|
- string:
|
|
name: MOBILE_REPO_URL
|
|
default: https://git.kovbasa.ru/otus-autotests/homework_7.git
|
|
description: "Git URL репозитория с Appium тестами"
|
|
- string:
|
|
name: MOBILE_REPO_REF
|
|
default: master
|
|
description: "Git branch/tag/commit для checkout"
|
|
- string:
|
|
name: ALLURE_ADAPTER_VERSION
|
|
default: 2.29.1
|
|
description: "Версия allure-junit5 адаптера"
|
|
- choice:
|
|
name: MOBILE_MAX_EMULATORS
|
|
choices:
|
|
- "1"
|
|
- "2"
|
|
description: "Сколько эмуляторов использовать в прогоне (1=стабильнее, 2=быстрее)"
|
|
- choice:
|
|
name: JUNIT_PARALLELISM
|
|
choices:
|
|
- "1"
|
|
- "2"
|
|
description: "Параллельность JUnit классов в мобильных тестах"
|
|
- string:
|
|
name: TEST_CLASSES_ORDER
|
|
default: "ru.otus.mobile.tests.WishlistsTest,ru.otus.mobile.tests.GiftsTest,ru.otus.mobile.tests.ReservationTest"
|
|
description: "Порядок классов для поочередного запуска (-Dtest)"
|
|
- string:
|
|
name: SUREFIRE_RERUN_FAILING
|
|
default: "0"
|
|
description: "Количество surefire rerun внутри одного запуска класса (обычно 0, т.к. ретрай делается на уровне pipeline)"
|
|
- string:
|
|
name: APP_URL
|
|
default: http://wiremock:8080/wishlist.apk
|
|
description: "URL APK для автоскачивания (capability app)"
|
|
- string:
|
|
name: DB_URL
|
|
default: jdbc:postgresql://sql.otus.kartushin.su:5432/wishlist
|
|
description: "JDBC URL"
|
|
- string:
|
|
name: DB_USER
|
|
default: student
|
|
description: "DB user"
|
|
- string:
|
|
name: DB_PASSWORD
|
|
default: "student"
|
|
description: "DB password"
|
|
- string:
|
|
name: WISHLISTS_USERNAME
|
|
default: user1us
|
|
- string:
|
|
name: WISHLISTS_PASSWORD
|
|
default: user1us
|
|
- string:
|
|
name: GIFTS_USERNAME
|
|
default: user2us
|
|
- string:
|
|
name: GIFTS_PASSWORD
|
|
default: user2us
|
|
- string:
|
|
name: RESERVATION_USERNAME
|
|
default: user3us
|
|
- string:
|
|
name: RESERVATION_PASSWORD
|
|
default: user3us
|
|
- string:
|
|
name: RESERVATION_OWNER
|
|
default: user4us
|
|
dsl: !include-raw-verbatim: ../scripts/qa-mobile-appium-tests.groovy
|