Skip to main content
Homepage
Explore
Search or go to…
/
Register
Sign in
Explore
Primary navigation
Project
eraser
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Collapse sidebar
Snippets
Groups
Projects
Show more breadcrumbs
OpenLicht
eraser
Commits
a4316a87
Commit
a4316a87
authored
Dec 7, 2018
by
René Schöne
Browse files
Options
Downloads
Patches
Plain Diff
Enhance ci.
- Disable Gradle daemon - Use cache for build and .gradle dirs - Save test reports
parent
7a660dfa
No related branches found
No related tags found
1 merge request
!1
Fixing CI
Pipeline
#2350
failed
Dec 7, 2018
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+29
-9
29 additions, 9 deletions
.gitlab-ci.yml
README.md
+3
-0
3 additions, 0 deletions
README.md
with
32 additions
and
9 deletions
.gitlab-ci.yml
+
29
−
9
View file @
a4316a87
...
...
@@ -3,25 +3,40 @@ stages:
-
test
-
report
variables
:
GRADLE_OPTS
:
"
-Dorg.gradle.daemon=false"
TEST_REPORTS
:
"
/builds/rschoene/eraser/eraser-base/build/reports/tests/test/"
before_script
:
-
export GRADLE_USER_HOME=`pwd`/.gradle
build
:
image
:
gradle:jdk8
stage
:
build
script
:
-
./gradlew --console=plain assemble
retry
:
2
when
:
on_success
-
./gradlew --console=plain --build-cache assemble
cache
:
key
:
"
$CI_COMMIT_REF_NAME"
policy
:
push
paths
:
-
build
-
.gradle
test
:
image
:
gradle:jdk8
stage
:
test
script
:
-
./gradlew --continue --console=plain test jacocoTestReport
retry
:
2
when
:
on_success
-
./gradlew --continue --console=plain check jacocoTestReport
cache
:
key
:
"
$CI_COMMIT_REF_NAME"
policy
:
pull
paths
:
-
build
-
.gradle
artifacts
:
when
:
always
#
paths:
#
- $TEST_REPORTS
paths
:
-
$TEST_REPORTS
# - $JACOCO_DATA1
# - $JACOCO_DATA2
...
...
@@ -35,8 +50,13 @@ coverage:
-
pip install --user untangle
-
python2 print-coverage.py
coverage
:
"
/Covered
(
\\
d{1,3}
\\
.
\\
d{2}%)
of
instructions
for
all
projects
\\
./"
cache
:
key
:
"
$CI_COMMIT_REF_NAME"
policy
:
pull
paths
:
-
build
-
.gradle
allow_failure
:
true
when
:
on_success
artifacts
:
when
:
always
# paths:
...
...
...
...
This diff is collapsed.
Click to expand it.
README.md
+
3
−
0
View file @
a4316a87
[

](https://git-st.inf.tu-dresden.de/rschoene/eraser/commits/master)
[

](https://git-st.inf.tu-dresden.de/rschoene/eraser/commits/master)
# ERASER - OpenLicht Knowledge Base
## Overview
...
...
...
...
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