Skip to content
This repository has been archived by the owner on Apr 6, 2022. It is now read-only.

Commit

Permalink
[FIXED JENKINS-42328] Do not use deprecated project in pipeline jobs.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Mar 10, 2017
1 parent daf1462 commit 362d299
Showing 1 changed file with 12 additions and 12 deletions.
Expand Up @@ -95,7 +95,7 @@ protected AnalysisGraphConfiguration createConfiguration() {
* @return <code>true</code> if CheckStyle results should be shown, <code>false</code> otherwise
*/
public boolean isCheckStyleActivated() {
return warningsAggregator.hasCheckStyle(getProject());
return warningsAggregator.hasCheckStyle(getOwner());
}

/**
Expand All @@ -104,7 +104,7 @@ public boolean isCheckStyleActivated() {
* @return <code>true</code> if DRY results should be shown, <code>false</code> otherwise
*/
public boolean isDryActivated() {
return warningsAggregator.hasDry(getProject());
return warningsAggregator.hasDry(getOwner());
}

/**
Expand All @@ -113,7 +113,7 @@ public boolean isDryActivated() {
* @return <code>true</code> if FindBugs results should be shown, <code>false</code> otherwise
*/
public boolean isFindBugsActivated() {
return warningsAggregator.hasFindBugs(getProject());
return warningsAggregator.hasFindBugs(getOwner());
}

/**
Expand All @@ -122,7 +122,7 @@ public boolean isFindBugsActivated() {
* @return <code>true</code> if PMD results should be shown, <code>false</code> otherwise
*/
public boolean isPmdActivated() {
return warningsAggregator.hasPmd(getProject());
return warningsAggregator.hasPmd(getOwner());
}

/**
Expand All @@ -131,7 +131,7 @@ public boolean isPmdActivated() {
* @return <code>true</code> if open tasks should be shown, <code>false</code> otherwise
*/
public boolean isOpenTasksActivated() {
return warningsAggregator.hasPmd(getProject());
return warningsAggregator.hasPmd(getOwner());
}

/**
Expand All @@ -140,7 +140,7 @@ public boolean isOpenTasksActivated() {
* @return <code>true</code> if compiler warnings results should be shown, <code>false</code> otherwise
*/
public boolean isWarningsActivated() {
return warningsAggregator.hasCompilerWarnings(getProject());
return warningsAggregator.hasCompilerWarnings(getOwner());
}

/**
Expand All @@ -149,7 +149,7 @@ public boolean isWarningsActivated() {
* @return the number of Checkstyle warnings
*/
public String getCheckStyle() {
return warningsAggregator.getCheckStyle(getProject());
return warningsAggregator.getCheckStyle(getOwner());
}

/**
Expand All @@ -158,7 +158,7 @@ public String getCheckStyle() {
* @return the number of duplicate code warnings
*/
public String getDry() {
return warningsAggregator.getDry(getProject());
return warningsAggregator.getDry(getOwner());
}

/**
Expand All @@ -167,7 +167,7 @@ public String getDry() {
* @return the number of FindBugs warnings
*/
public String getFindBugs() {
return warningsAggregator.getFindBugs(getProject());
return warningsAggregator.getFindBugs(getOwner());
}

/**
Expand All @@ -176,7 +176,7 @@ public String getFindBugs() {
* @return the number of PMD warnings
*/
public String getPmd() {
return warningsAggregator.getPmd(getProject());
return warningsAggregator.getPmd(getOwner());
}

/**
Expand All @@ -185,7 +185,7 @@ public String getPmd() {
* @return the number of open tasks
*/
public String getTasks() {
return warningsAggregator.getTasks(getProject());
return warningsAggregator.getTasks(getOwner());
}

/**
Expand All @@ -194,6 +194,6 @@ public String getTasks() {
* @return the number of compiler warnings
*/
public String getCompilerWarnings() {
return warningsAggregator.getCompilerWarnings(getProject());
return warningsAggregator.getCompilerWarnings(getOwner());
}
}

0 comments on commit 362d299

Please sign in to comment.