I am fairly new to the Gitlab runner. Followed this documentation and I set up CI/CD under settings. During registration, I declared the image as katalonstudio/katalon. I sudo installed and started. I created gitlab-ci.yml file. Once I ran the pipeline, I ended up getting an error: No/jobs or stages defined.
Here is my gitlab-ci.yml :
image: katalonstudio/katalon
services:
- docker:dind
stages:
- test
test_job:
stage: test
script:
- katalon-execute.sh -browserType="Chrome" -retry=0 -statusDelay=15 -testSuitePath="Test Suites/MyProject/Test Suites/TestSuite1" -executionProfile="QA001"
artifacts:
name: "$CI_COMMIT_REF_NAME"
paths:
- report/
reports:
junit:
- 'report/*.xml'
when: always
only:
variables:
- $SCHEDULE_JOB == "Smoke test"
Am I missing anything in this file? File validation does not have any error. Also, do I have to edit the environmental variables in ubuntu? Any thoughts will be a great help.