Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dariah
dariahsp
Commits
40d3a185
Commit
40d3a185
authored
Jan 13, 2022
by
Gradl, Tobias
Browse files
Merge branch 'v2.1-dev' into 'v2.x-master'
Cleanup based on gradle:6-jdk11 image See merge request
!13
parents
1606d64e
af839541
Pipeline
#30740
passed with stages
in 5 minutes and 11 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
40d3a185
image
:
openjdk:11
-jdk
image
:
gradle:6
-jdk
11
variables
:
GRADLE_OPTS
:
"
-Dorg.gradle.daemon=false"
NEXUS_CREDENTIALS
:
"
-Pnexususer=$NEXUS_REPO_USER
-Pnexuspass=$NEXUS_REPO_PASS"
before_script
:
-
export GRADLE_USER_HOME=`pwd`/.gradle
-
./gradlew wrapper --distribution-type=bin
cache
:
paths
:
-
.gradle/wrapper
-
.gradle/caches
stages
:
-
test
-
build
...
...
@@ -21,11 +11,11 @@ stages:
test
:
stage
:
test
script
:
-
./
gradle
w
check
-
gradle check
build
:
stage
:
build
script
:
./
gradle
w
assemble
script
:
gradle assemble
artifacts
:
paths
:
-
dariahsp-core/build/libs/*.jar
...
...
@@ -36,6 +26,6 @@ build:
deploy
:
stage
:
deploy
script
:
-
./
gradle
w
publish -x test $NEXUS_CREDENTIALS
-
gradle publish -x test $NEXUS_CREDENTIALS
only
:
-
v2.x-master
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