ci: stabilize Jenkins jobs and mobile pipeline
This commit is contained in:
@@ -11,6 +11,6 @@
|
||||
parameters:
|
||||
- string:
|
||||
name: JJB_PATH
|
||||
default: /workspace/otus-autotests/hw8/config/jobs
|
||||
default: /workspace/hw8/config/jobs
|
||||
description: "Путь до JJB-конфигов"
|
||||
dsl: !include-raw-verbatim: ../scripts/jobs-uploader.groovy
|
||||
|
||||
@@ -8,4 +8,13 @@
|
||||
properties:
|
||||
- build-discarder:
|
||||
num-to-keep: 50
|
||||
parameters:
|
||||
- string:
|
||||
name: QA_REPO_URL
|
||||
default: https://git.kovbasa.ru/otus-autotests/homework_4.git
|
||||
description: "Git URL репозитория с Selenium/API тестами"
|
||||
- string:
|
||||
name: QA_REPO_REF
|
||||
default: master
|
||||
description: "Git branch/tag/commit для checkout"
|
||||
dsl: !include-raw-verbatim: ../scripts/qa-api-citrus-tests.groovy
|
||||
|
||||
@@ -9,6 +9,38 @@
|
||||
- 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
|
||||
|
||||
@@ -9,6 +9,28 @@
|
||||
- build-discarder:
|
||||
num-to-keep: 50
|
||||
parameters:
|
||||
- string:
|
||||
name: QA_REPO_URL
|
||||
default: https://git.kovbasa.ru/otus-autotests/homework_4.git
|
||||
- string:
|
||||
name: QA_REPO_REF
|
||||
default: master
|
||||
- string:
|
||||
name: MOBILE_REPO_URL
|
||||
default: https://git.kovbasa.ru/otus-autotests/homework_7.git
|
||||
- string:
|
||||
name: MOBILE_REPO_REF
|
||||
default: master
|
||||
- choice:
|
||||
name: MOBILE_MAX_EMULATORS
|
||||
choices:
|
||||
- "1"
|
||||
- "2"
|
||||
- choice:
|
||||
name: JUNIT_PARALLELISM
|
||||
choices:
|
||||
- "1"
|
||||
- "2"
|
||||
- choice:
|
||||
name: BROWSER
|
||||
choices:
|
||||
@@ -19,7 +41,7 @@
|
||||
default: https://otus.ru
|
||||
- string:
|
||||
name: EXECUTION_MODE
|
||||
default: selenoid
|
||||
default: local
|
||||
- string:
|
||||
name: SELENOID_URL
|
||||
default: http://host.docker.internal:4444/wd/hub
|
||||
|
||||
@@ -9,6 +9,18 @@
|
||||
- build-discarder:
|
||||
num-to-keep: 50
|
||||
parameters:
|
||||
- string:
|
||||
name: QA_REPO_URL
|
||||
default: https://git.kovbasa.ru/otus-autotests/homework_4.git
|
||||
description: "Git URL репозитория с Selenium/API тестами"
|
||||
- string:
|
||||
name: QA_REPO_REF
|
||||
default: master
|
||||
description: "Git branch/tag/commit для checkout"
|
||||
- string:
|
||||
name: ALLURE_ADAPTER_VERSION
|
||||
default: 2.29.1
|
||||
description: "Версия allure-junit5 адаптера"
|
||||
- choice:
|
||||
name: BROWSER
|
||||
choices:
|
||||
@@ -21,7 +33,7 @@
|
||||
description: "Базовый URL тестируемого сайта"
|
||||
- string:
|
||||
name: EXECUTION_MODE
|
||||
default: selenoid
|
||||
default: local
|
||||
description: "Режим запуска (local|selenoid)"
|
||||
- string:
|
||||
name: SELENOID_URL
|
||||
|
||||
Reference in New Issue
Block a user