step([$class: 'FindBugsPublisher', canRunOnFailed: true, defaultEncoding: 'UTF-8', excludePattern: '', healthy: '', includePattern: '', pattern: '**/target/findbugsXml.xml', shouldDetectModules: true, unHealthy: '', unstableTotalAll: '0', useStableBuildAsReference : true])
In order to define the thresholds or other things..
Looking at the code, does not seem to be possible today. Is it correct?
withMaven(maven: 'maven-3.3.9', mavenSettingsConfig: 'maven-settings-for-gameoflife', options: [ artifactReporter: [ disabled: true // default = false ], someOtherReporter: [ options: [] // whatever options this reporter accepts ] ] ) {sh "mvn package"}
withMaven( maven: 'maven-3.3.9',
mavenSettingsConfig: 'maven-settings-for-gameoflife',
options: [
skipArchiveGeneratedArtifacts: true,
fingerprintDependenciesExclude: "org.springframework.*"
]
) {
sh "mvn package"To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/e7b7a2c1-067c-487a-945b-53df9babc97b%40googlegroups.com.--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
withMaven(options:[openTasksPublisher( pattern:'src/main/java', excludePattern:'src/main/java/excluded', ignoreCase:true, asRegexp:false, lowPriorityTaskIdentifiers:'minor', normalPriorityTaskIdentifiers:'todo', highPriorityTaskIdentifiers:'fixme')]) { sh 'mvn package verify' }