-
Notifications
You must be signed in to change notification settings - Fork 169
/
.gitlab-ci.yml
19 lines (19 loc) · 1.24 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Use this template to run Katalon Studio scripts with the Katalon Docker Image on GitLab CI/CD pipelines.
#
# Requirements
# A Katalon Studio project with the content saved in the root repository folder. If the project is under another location, you need to update KATALON_PROJECT_DIR with the corresponding value in the variable section
# An active KRE license
# A valid Katalon API key, which is stored as KATALON_API_KEY in Settings/CI/CD/Variables
image: 'katalonstudio/katalon' # Use the latest version of Katalon Runtime Engine. We can also use other versions of Katalon Runtime Engine by specifying another tag, such as `katalonstudio/katalon:8.1.2` or `katalonstudio/katalon:8.3.0`
services:
- docker:dind
variables:
# Specify Katalon Studio project directory. By default, it is stored under the root project folder.
KATALON_PROJECT_DIR: $CI_PROJECT_DIR
stages:
- test
test_job:
stage: test
# Update your desired katalonc commands. All of katalonc supported arguments can be found at this document https://docs.katalon.com/katalon-studio/docs/console-mode-execution.html
script:
- katalonc.sh -projectPath=$KATALON_PROJECT_DIR -apiKey=$KATALON_API_KEY -browserType="Chrome" -retry=0 -statusDelay=20 -testSuitePath="Test Suites/TS_RegressionTest"