jenkins fix
This commit is contained in:
		
							parent
							
								
									ee4e78a53a
								
							
						
					
					
						commit
						09b238d9c3
					
				
					 2 changed files with 10 additions and 5 deletions
				
			
		
							
								
								
									
										4
									
								
								Jenkinsfile
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								Jenkinsfile
									
										
									
									
										vendored
									
									
								
							|  | @ -22,7 +22,7 @@ pipeline { | ||||||
|          |          | ||||||
|         stage('Reporting') { |         stage('Reporting') { | ||||||
|             steps { |             steps { | ||||||
|                 sh '${M2_HOME}/bin/mvn --batch-mode -V -U -e checkstyle:checkstyle pmd:pmd pmd:cpd findbugs:findbugs spotbugs:spotbugs' |                 sh '${M2_HOME}/bin/mvn --batch-mode -V -U -e pmd:pmd pmd:cpd findbugs:findbugs spotbugs:spotbugs' | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
|  | @ -31,8 +31,6 @@ pipeline { | ||||||
|         always { |         always { | ||||||
|             junit testResults: '**/target/surefire-reports/TEST-*.xml' |             junit testResults: '**/target/surefire-reports/TEST-*.xml' | ||||||
| 
 | 
 | ||||||
|             recordIssues enabledForFailure: true, tools: [mavenConsole(), java(), javaDoc()] |  | ||||||
|             recordIssues enabledForFailure: true, tool: checkStyle() |  | ||||||
|             recordIssues enabledForFailure: true, tool: spotBugs() |             recordIssues enabledForFailure: true, tool: spotBugs() | ||||||
|             recordIssues enabledForFailure: true, tool: pmdParser(pattern: '**/target/pmd.xml') |             recordIssues enabledForFailure: true, tool: pmdParser(pattern: '**/target/pmd.xml') | ||||||
|         } |         } | ||||||
|  |  | ||||||
							
								
								
									
										11
									
								
								pom.xml
									
										
									
									
									
								
							
							
						
						
									
										11
									
								
								pom.xml
									
										
									
									
									
								
							|  | @ -125,7 +125,7 @@ | ||||||
|               </execution> |               </execution> | ||||||
|             </executions> |             </executions> | ||||||
|           </plugin> |           </plugin> | ||||||
|           <plugin> | <!--          <plugin> | ||||||
|             <groupId>org.codehaus.mojo</groupId> |             <groupId>org.codehaus.mojo</groupId> | ||||||
|             <artifactId>findbugs-maven-plugin</artifactId> |             <artifactId>findbugs-maven-plugin</artifactId> | ||||||
|             <version>3.0.4</version> |             <version>3.0.4</version> | ||||||
|  | @ -145,11 +145,18 @@ | ||||||
|                 </goals> |                 </goals> | ||||||
|               </execution> |               </execution> | ||||||
|             </executions> |             </executions> | ||||||
|           </plugin> |           </plugin>--> | ||||||
|             <plugin> |             <plugin> | ||||||
|               <groupId>com.github.spotbugs</groupId> |               <groupId>com.github.spotbugs</groupId> | ||||||
|               <artifactId>spotbugs-maven-plugin</artifactId> |               <artifactId>spotbugs-maven-plugin</artifactId> | ||||||
|               <version>4.5.3.0</version> |               <version>4.5.3.0</version> | ||||||
|  |               <configuration> | ||||||
|  |                 <effort>Max</effort> | ||||||
|  |                 <failOnError>false</failOnError> | ||||||
|  |                 <threshold>Low</threshold> | ||||||
|  |                 <xmlOutput>true</xmlOutput> | ||||||
|  |                 <excludeFilterFile>findbugs-excludes.xml</excludeFilterFile> | ||||||
|  |               </configuration> | ||||||
|               <dependencies> |               <dependencies> | ||||||
|                 <!-- overwrite dependency on spotbugs if you want to specify the version of spotbugs --> |                 <!-- overwrite dependency on spotbugs if you want to specify the version of spotbugs --> | ||||||
|                 <dependency> |                 <dependency> | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 anhefti
						anhefti