Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
maven-releng
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
af3
maven-releng
Commits
21c99b41
Commit
21c99b41
authored
Sep 14, 2020
by
Alexander Diewald
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a stage to clean compiled classes.
parent
ee122cee
Pipeline
#25846
failed with stages
in 2 minutes
Changes
1
Pipelines
51
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
.gitlab-ci.yml
.gitlab-ci.yml
+12
-0
No files found.
.gitlab-ci.yml
View file @
21c99b41
image
:
git.fortiss.org:5001/af3/maven-releng:latest
stages
:
-
clean
-
build
-
test
-
deploy
...
...
@@ -16,6 +17,17 @@ variables:
MAVEN_TEST_OPTS
:
"
-Dbuild.tests=true"
MAVEN_BUILD_DIR
:
"
-Duser.dir=/builds/$CI_PROJECT_PATH"
clean
:
stage
:
clean
cache
:
key
:
Default
rules
:
-
if
:
'
$BUILD_TYPE
==
"clean"'
# This rule will be evaluated
when
:
on_success
before_script
:
-
git submodule update $GIT_SUBMODULE_OPTS
script
:
-
mvn $MAVEN_CLI_OPTS $MAVEN_BUILD_OPTS clean
build
:
stage
:
build
...
...
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