How to setup first Gitlab CI/CD
- *I building selenium test automation framework.Below are my .gitab-ci.yml file. Please have a look and review me. *
What is runner?Does it require to setup runner in yaml file?Does it require any image to run the CI/CD?
-
What version are you on? Are you using self-managed or GitLab.com?
- *GitLab *
image: rvancea/maven-chrome-jdk8:latest
image: adoptopenjdk/maven-openjdk11
tags:
- ci runner
stages:
- build
- test
build:
stage: build
script:
- echo “Compiling Source Code”
- mvn compile
test:
stage: test
script:
- echo “Running the selenium test”
- mvn clean test
Please help me. I am beginner of gitlab CI/CD. Thanks.