Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
maven-releng
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
af3
maven-releng
Commits
21c99b41
Commit
21c99b41
authored
4 years ago
by
Alexander Diewald
Browse files
Options
Downloads
Patches
Plain Diff
Add a stage to clean compiled classes.
parent
ee122cee
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#25846
failed
4 years ago
Stage: build
Stage: test
Stage: deploy
Changes
1
Pipelines
51
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+12
-0
12 additions, 0 deletions
.gitlab-ci.yml
with
12 additions
and
0 deletions
.gitlab-ci.yml
+
12
−
0
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
...
...
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