Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
Automation_selenium
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Trình Nguyễn
Automation_selenium
Commits
faaf5d14
Commit
faaf5d14
authored
Apr 15, 2026
by
Trình Nguyễn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add .gitlab-ci.yml
parent
4f1eec7b
Pipeline
#48969
failed
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
46 additions
and
0 deletions
+46
-0
.gitlab-ci.yml
.gitlab-ci.yml
+46
-0
No files found.
.gitlab-ci.yml
0 → 100644
View file @
faaf5d14
stages
:
-
test
variables
:
MAVEN_OPTS
:
"
-Dmaven.repo.local=.m2/repository"
SELENIUM_REMOTE_URL
:
"
http://selenium:4444"
HEADLESS
:
"
true"
cache
:
key
:
"
${CI_COMMIT_REF_SLUG}"
paths
:
-
.m2/repository
daily_selenium_regression
:
stage
:
test
image
:
maven:3.9-eclipse-temurin-17
services
:
-
name
:
selenium/standalone-chrome
alias
:
selenium
rules
:
-
if
:
'
$CI_PIPELINE_SOURCE
==
"schedule"'
before_script
:
-
java -version
-
mvn -version
script
:
-
>
mvn clean test
-Dselenium.remote.url=$SELENIUM_REMOTE_URL
-Dheadless=$HEADLESS
artifacts
:
when
:
always
paths
:
-
target/surefire-reports/
-
target/failsafe-reports/
-
screenshots/
-
logs/
reports
:
junit
:
-
target/surefire-reports/TEST-*.xml
-
target/failsafe-reports/TEST-*.xml
expire_in
:
7 days
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment