Skip to content

Commit

Permalink
[jenkins] removed deprecated method openTasks()
Browse files Browse the repository at this point in the history
  • Loading branch information
Tibor17 committed Jul 19, 2021
1 parent b09b721 commit 5aeb977
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions Jenkinsfile
Expand Up @@ -172,9 +172,6 @@ def buildProcess(String stageKey, String jdkName, String jdkTestName, String mvn
} finally {
try {
if (makeReports) {
openTasks(ignoreCase: true, canComputeNew: true, defaultEncoding: 'UTF-8', pattern: sourcesPatternCsv(),
high: tasksViolationHigh(), normal: tasksViolationNormal(), low: tasksViolationLow())

jacoco(changeBuildStatus: false,
execPattern: '**/*.exec',
sourcePattern: sourcesPatternCsv(),
Expand Down Expand Up @@ -242,22 +239,6 @@ static def classPatternCsv() {
'**/surefire-report-parser/target/classes'
}

@NonCPS
static def tasksViolationLow() {
return '@SuppressWarnings'
}

@NonCPS
static def tasksViolationNormal() {
return 'TODO,FIXME,@deprecated'
}

@NonCPS
static def tasksViolationHigh() {
return 'finalize(),Locale.setDefault,TimeZone.setDefault,\
System.out,System.err,System.setOut,System.setErr,System.setIn,System.exit,System.gc,System.runFinalization,System.load'
}

@NonCPS
static def testReportsPatternCsv() {
return '**/maven-failsafe-plugin/target/surefire-reports/*.xml,' +
Expand Down

0 comments on commit 5aeb977

Please sign in to comment.