Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
harshit aggarwal
CI-CD Pipelines
Commits
18e262a7
Commit
18e262a7
authored
May 22, 2020
by
David Diederich
Browse files
Add the --update-snapshots switch for maven to force refreshes on snapshot libraries
parent
b107eb76
Changes
1
Hide whitespace changes
Inline
Side-by-side
build/maven.yml
View file @
18e262a7
...
...
@@ -70,7 +70,7 @@ compile-and-unit-test:
stage
:
build
script
:
# First, build and deploy all the independent POM projects that we find
-
xargs -0rn 1 -I {} sh -c "cd '{}' && $MAVEN deploy -DskipTests=true || exit 255" < $ALL_MAVEN_BUILD_DIRS_Z
-
xargs -0rn 1 -I {} sh -c "cd '{}' && $MAVEN deploy
--update-snapshots
-DskipTests=true || exit 255" < $ALL_MAVEN_BUILD_DIRS_Z
# Then, run the unit tests on the main project only
-
$MAVEN test
Write
Preview
Supports
Markdown
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