Skip to content
Snippets Groups Projects
Commit f8ff9927 authored by OZGCloud's avatar OZGCloud
Browse files

Merge branch 'master' of git.ozg-sh.de:mgm/goofy

parents 41f9609a 5827cb81
Branches
Tags
No related merge requests found
...@@ -65,8 +65,7 @@ pipeline { ...@@ -65,8 +65,7 @@ pipeline {
script { script {
FAILED_STAGE=env.STAGE_NAME FAILED_STAGE=env.STAGE_NAME
} }
container("maven-16"){ container("maven-17"){
//container("3-openjdk-17-slim") {
configFileProvider([configFile(fileId: 'maven-settings', variable: 'MAVEN_SETTINGS')]) { configFileProvider([configFile(fileId: 'maven-settings', variable: 'MAVEN_SETTINGS')]) {
sh 'mvn --version' sh 'mvn --version'
sh 'mvn -s $MAVEN_SETTINGS -pl -goofy-client clean install spring-boot:build-image -Dmaven.wagon.http.retryHandler.count=3' sh 'mvn -s $MAVEN_SETTINGS -pl -goofy-client clean install spring-boot:build-image -Dmaven.wagon.http.retryHandler.count=3'
...@@ -167,8 +166,7 @@ pipeline { ...@@ -167,8 +166,7 @@ pipeline {
script { script {
FAILED_STAGE = env.STAGE_NAME FAILED_STAGE = env.STAGE_NAME
} }
container('maven-16') { container('maven-17') {
//container('3-openjdk-17-slim') {
configFileProvider([configFile(fileId: 'maven-settings', variable: 'MAVEN_SETTINGS')]) { configFileProvider([configFile(fileId: 'maven-settings', variable: 'MAVEN_SETTINGS')]) {
sh 'mvn -s $MAVEN_SETTINGS -pl -goofy-client -DskipTests deploy' sh 'mvn -s $MAVEN_SETTINGS -pl -goofy-client -DskipTests deploy'
} }
......
...@@ -231,25 +231,6 @@ ...@@ -231,25 +231,6 @@
<plugin> <plugin>
<groupId>org.jacoco</groupId> <groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId> <artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.7</version>
<executions>
<execution>
<id>start-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
<configuration>
<propertyName>surefire.jacoco.args</propertyName>
</configuration>
</execution>
<execution>
<id>generate-report</id>
<phase>package</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
......
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
<maven.failsafe.version>3.0.0-M5</maven.failsafe.version> <maven.failsafe.version>3.0.0-M5</maven.failsafe.version>
<git-comit-id.plugin.version>4.0.3</git-comit-id.plugin.version> <git-comit-id.plugin.version>4.0.3</git-comit-id.plugin.version>
<sonarqube.version>3.8.2</sonarqube.version> <sonarqube.version>3.8.2</sonarqube.version>
<jacoco.plugin.version>0.8.7</jacoco.plugin.version>
</properties> </properties>
<dependencyManagement> <dependencyManagement>
...@@ -201,6 +202,29 @@ ...@@ -201,6 +202,29 @@
<artifactId>git-commit-id-plugin</artifactId> <artifactId>git-commit-id-plugin</artifactId>
<version>${git-comit-id.plugin.version}</version> <version>${git-comit-id.plugin.version}</version>
</plugin> </plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco.plugin.version}</version>
<executions>
<execution>
<id>start-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
<configuration>
<propertyName>surefire.jacoco.args</propertyName>
</configuration>
</execution>
<execution>
<id>generate-report</id>
<phase>package</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins> </plugins>
</pluginManagement> </pluginManagement>
</build> </build>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment