Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Game of life Template
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
BALME Maxence
Game of life Template
Commits
1ca8a688
Commit
1ca8a688
authored
2 years ago
by
LABOUREL Arnaud
Browse files
Options
Downloads
Patches
Plain Diff
mise à jour gradle test report
parent
02b2a059
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+19
-20
19 additions, 20 deletions
.gitlab-ci.yml
with
19 additions
and
20 deletions
.gitlab-ci.yml
+
19
−
20
View file @
1ca8a688
# To contribute improvements to CI/CD templates, please follow the Development guide at:
# https://docs.gitlab.com/ee/development/cicd/templates.html
# This specific template is located at:
# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Gradle.gitlab-ci.yml
image
:
gradle:jdk18
# This is the Gradle build system for JVM applications
# https://gradle.org/
# https://github.com/gradle/gradle
image
:
gradle:alpine
# Disable the Gradle daemon for Continuous Integration servers as correctness
# is usually a priority over speed in CI environments. Using a fresh
# runtime for each build is more reliable since the runtime is completely
# isolated from any previous builds.
variables
:
GRADLE_OPTS
:
"
-Dorg.gradle.daemon=false"
before_script
:
-
GRADLE_USER_HOME="$(pwd)/.gradle"
-
export GRADLE_USER_HOME
-
export GRADLE_USER_HOME=`pwd`/.gradle
cache
:
paths
:
-
.gradle/wrapper
-
.gradle/caches
stages
:
-
build
-
test
build
:
stage
:
build
script
:
gradle --build-cache assemble
script
:
./
gradle
w
--build-cache assemble
cache
:
key
:
"
$CI_COMMIT_REF_NAME"
policy
:
push
...
...
@@ -32,10 +27,14 @@ build:
test
:
stage
:
test
script
:
gradle
test
script
:
./
gradle
w check
artifacts
:
when
:
always
reports
:
junit
:
build/test-results/test/**/TEST-*.xml
cache
:
key
:
"
$CI_COMMIT_REF_NAME"
policy
:
pull
paths
:
-
build
-
.gradle
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment