Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
user-manager
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
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OZG-Cloud
app
user-manager
Commits
438852e9
Commit
438852e9
authored
2 years ago
by
OZGCloud
Browse files
Options
Downloads
Patches
Plain Diff
OZG-2651 add maven wrapper; use ./mvnw to package
parent
2e5c4bbf
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.mvn/wrapper/maven-wrapper.jar
+0
-0
0 additions, 0 deletions
.mvn/wrapper/maven-wrapper.jar
.mvn/wrapper/maven-wrapper.properties
+18
-0
18 additions, 0 deletions
.mvn/wrapper/maven-wrapper.properties
Jenkinsfile
+19
-15
19 additions, 15 deletions
Jenkinsfile
with
37 additions
and
15 deletions
.mvn/wrapper/maven-wrapper.jar
0 → 100644
+
0
−
0
View file @
438852e9
File added
This diff is collapsed.
Click to expand it.
.mvn/wrapper/maven-wrapper.properties
0 → 100644
+
18
−
0
View file @
438852e9
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
distributionUrl
=
https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.1/apache-maven-3.8.1-bin.zip
wrapperUrl
=
https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.1/maven-wrapper-3.1.1.jar
This diff is collapsed.
Click to expand it.
Jenkinsfile
+
19
−
15
View file @
438852e9
...
@@ -81,7 +81,11 @@ pipeline {
...
@@ -81,7 +81,11 @@ pipeline {
withCredentials
([
usernamePassword
(
credentialsId:
'jenkins-docker-login'
,
usernameVariable:
'USER'
,
passwordVariable:
'PASSWORD'
)])
{
withCredentials
([
usernamePassword
(
credentialsId:
'jenkins-docker-login'
,
usernameVariable:
'USER'
,
passwordVariable:
'PASSWORD'
)])
{
sh
'docker login docker.ozg-sh.de -u ${USER} -p ${PASSWORD}'
sh
'docker login docker.ozg-sh.de -u ${USER} -p ${PASSWORD}'
sh
'docker build -f Dockerfile.native -t docker.ozg-sh.de/user-manager:build-latest .'
sh
'./mvnw -s $MAVEN_SETTINGS clean package -Pnative -DskipTests'
sh
'docker build -f src/main/docker/Dockerfile.native -t docker.ozg-sh.de/user-manager:build-latest .'
//sh './mvnw -s $MAVEN_SETTINGS verify -Pnative'
sleep
time:
10000
,
unit:
'MILLISECONDS'
}
}
}
}
}
}
...
...
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