Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
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
?
Snippets
Groups
Projects
Show more breadcrumbs
OpenLicht
eraser
Commits
a4316a87
Commit
a4316a87
authored
6 years ago
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
6 years ago
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:
...
@@ -3,25 +3,40 @@ stages:
-
test
-
test
-
report
-
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
:
build
:
image
:
gradle:jdk8
image
:
gradle:jdk8
stage
:
build
stage
:
build
script
:
script
:
-
./gradlew --console=plain assemble
-
./gradlew --console=plain --build-cache assemble
retry
:
2
cache
:
when
:
on_success
key
:
"
$CI_COMMIT_REF_NAME"
policy
:
push
paths
:
-
build
-
.gradle
test
:
test
:
image
:
gradle:jdk8
image
:
gradle:jdk8
stage
:
test
stage
:
test
script
:
script
:
-
./gradlew --continue --console=plain test jacocoTestReport
-
./gradlew --continue --console=plain check jacocoTestReport
retry
:
2
cache
:
when
:
on_success
key
:
"
$CI_COMMIT_REF_NAME"
policy
:
pull
paths
:
-
build
-
.gradle
artifacts
:
artifacts
:
when
:
always
when
:
always
#
paths:
paths
:
#
- $TEST_REPORTS
-
$TEST_REPORTS
# - $JACOCO_DATA1
# - $JACOCO_DATA1
# - $JACOCO_DATA2
# - $JACOCO_DATA2
...
@@ -35,8 +50,13 @@ coverage:
...
@@ -35,8 +50,13 @@ coverage:
-
pip install --user untangle
-
pip install --user untangle
-
python2 print-coverage.py
-
python2 print-coverage.py
coverage
:
"
/Covered
(
\\
d{1,3}
\\
.
\\
d{2}%)
of
instructions
for
all
projects
\\
./"
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
allow_failure
:
true
when
:
on_success
artifacts
:
artifacts
:
when
:
always
when
:
always
# paths:
# 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
# ERASER - OpenLicht Knowledge Base
## Overview
## 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