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
c8e36f29
Commit
c8e36f29
authored
8 months ago
by
OZGCloud
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'origin/master' into OZG-6472-upgrade-to-keycloak24
parents
489f3817
e2b5e58e
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
Jenkinsfile
+17
-13
17 additions, 13 deletions
Jenkinsfile
pom.xml
+36
-2
36 additions, 2 deletions
pom.xml
user-manager-interface/pom.xml
+1
-1
1 addition, 1 deletion
user-manager-interface/pom.xml
user-manager-server/pom.xml
+1
-1
1 addition, 1 deletion
user-manager-server/pom.xml
with
55 additions
and
17 deletions
Jenkinsfile
+
17
−
13
View file @
c8e36f29
...
@@ -127,23 +127,27 @@ pipeline {
...
@@ -127,23 +127,27 @@ pipeline {
}
}
}
}
stage
(
'
OWASP Dependency-Check Vulnerabilities
'
)
{
stage
(
'
Deploy SBOM to DependencyTrack
'
)
{
steps
{
steps
{
dependencyCheck
additionalArguments:
'''
script
{
-o "./"
IMAGE_TAG
=
generateImageTag
()
-s "./"
-f "ALL"
configFileProvider
([
configFile
(
fileId:
'maven-settings'
,
variable:
'MAVEN_SETTINGS'
)])
{
-d /dependency-check-data
withCredentials
([
string
(
credentialsId:
'dependency-track-api-key'
,
variable:
'API_KEY'
)])
{
--suppression dependency-check-supressions.xml
--disableKnownExploited
dir
(
'user-manager-server'
)
{
--noupdate
--disableArchive
catchError
(
buildResult:
'UNSTABLE'
,
stageResult:
'FAILURE'
)
{
--prettyPrint'''
,
odcInstallation:
'dependency-check-owasp'
sh
"mvn --no-transfer-progress -s $MAVEN_SETTINGS io.github.pmckeown:dependency-track-maven-plugin:upload-bom -Ddependency-track.apiKey=$API_KEY -Ddependency-track.projectVersion=${IMAGE_TAG} -Ddependency-track.dependencyTrackBaseUrl=https://dependency-track.ozg-sh.de"
}
dependencyCheckPublisher
pattern:
'dependency-check-report.xml'
}
}
}
}
}
}
}
}
stage
(
'Sonar Checks'
)
{
stage
(
'Sonar Checks'
)
{
when
{
when
{
branch
'master'
branch
'master'
...
...
This diff is collapsed.
Click to expand it.
pom.xml
+
36
−
2
View file @
c8e36f29
...
@@ -29,13 +29,13 @@
...
@@ -29,13 +29,13 @@
<parent>
<parent>
<groupId>
de.ozgcloud.common
</groupId>
<groupId>
de.ozgcloud.common
</groupId>
<artifactId>
ozgcloud-common-dependencies
</artifactId>
<artifactId>
ozgcloud-common-dependencies
</artifactId>
<version>
4.3.
1
</version>
<version>
4.3.
2
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
<groupId>
de.ozgcloud.user
</groupId>
<groupId>
de.ozgcloud.user
</groupId>
<artifactId>
user-manager
</artifactId>
<artifactId>
user-manager
</artifactId>
<version>
2.
7
.0-SNAPSHOT
</version>
<version>
2.
8
.0-SNAPSHOT
</version>
<name>
OZG-Cloud User Manager
</name>
<name>
OZG-Cloud User Manager
</name>
<packaging>
pom
</packaging>
<packaging>
pom
</packaging>
...
@@ -55,6 +55,11 @@
...
@@ -55,6 +55,11 @@
<maven-failsafe-plugin.version>
3.2.5
</maven-failsafe-plugin.version>
<maven-failsafe-plugin.version>
3.2.5
</maven-failsafe-plugin.version>
<git-commit-id-maven-plugin.version>
7.0.0
</git-commit-id-maven-plugin.version>
<git-commit-id-maven-plugin.version>
7.0.0
</git-commit-id-maven-plugin.version>
<maven-source.plugin.version>
3.3.0
</maven-source.plugin.version>
<maven-source.plugin.version>
3.3.0
</maven-source.plugin.version>
<!-- TODO move to common-dependencies -->
<dependency-track-maven-plugin.version>
1.7.0
</dependency-track-maven-plugin.version>
<cyclonedx-maven-plugin.version>
2.7.11
</cyclonedx-maven-plugin.version>
</properties>
</properties>
<modules>
<modules>
...
@@ -233,7 +238,36 @@
...
@@ -233,7 +238,36 @@
</execution>
</execution>
</executions>
</executions>
</plugin>
</plugin>
<plugin>
<groupId>
io.github.pmckeown
</groupId>
<artifactId>
dependency-track-maven-plugin
</artifactId>
<version>
${dependency-track-maven-plugin.version}
</version>
<configuration>
<dependencyTrackBaseUrl>
https://dependency-track.ozg-sh.de
</dependencyTrackBaseUrl>
<failOnError>
true
</failOnError>
<createProject>
true
</createProject>
</configuration>
</plugin>
</plugins>
</plugins>
</pluginManagement>
</pluginManagement>
<plugins>
<plugin>
<groupId>
org.cyclonedx
</groupId>
<artifactId>
cyclonedx-maven-plugin
</artifactId>
<version>
${cyclonedx-maven-plugin.version}
</version>
<executions>
<execution>
<phase>
package
</phase>
<goals>
<goal>
makeAggregateBom
</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</build>
</project>
</project>
This diff is collapsed.
Click to expand it.
user-manager-interface/pom.xml
+
1
−
1
View file @
c8e36f29
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
<parent>
<parent>
<groupId>
de.ozgcloud.user
</groupId>
<groupId>
de.ozgcloud.user
</groupId>
<artifactId>
user-manager
</artifactId>
<artifactId>
user-manager
</artifactId>
<version>
2.
7
.0-SNAPSHOT
</version>
<version>
2.
8
.0-SNAPSHOT
</version>
</parent>
</parent>
<artifactId>
user-manager-interface
</artifactId>
<artifactId>
user-manager-interface
</artifactId>
...
...
This diff is collapsed.
Click to expand it.
user-manager-server/pom.xml
+
1
−
1
View file @
c8e36f29
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
<parent>
<parent>
<groupId>
de.ozgcloud.user
</groupId>
<groupId>
de.ozgcloud.user
</groupId>
<artifactId>
user-manager
</artifactId>
<artifactId>
user-manager
</artifactId>
<version>
2.
7
.0-SNAPSHOT
</version>
<version>
2.
8
.0-SNAPSHOT
</version>
</parent>
</parent>
<artifactId>
user-manager-server
</artifactId>
<artifactId>
user-manager-server
</artifactId>
...
...
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