Skip to content
This repository has been archived by the owner on Feb 26, 2020. It is now read-only.

Commit

Permalink
[FIXED JENKINS-28938] Use correct reference build in maven jobs.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Jun 18, 2015
1 parent 3b8c57f commit db4e9a4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pmd.iml
Expand Up @@ -20,7 +20,7 @@
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="Maven: org.jvnet.hudson.plugins:analysis-core:1.72" level="project" />
<orderEntry type="module" module-name="analysis-core" />
<orderEntry type="library" name="Maven: de.java2html:java2html:5.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.commons:commons-lang3:3.3.2" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.jvnet.hudson.plugins:analysis-test:1.12" level="project" />
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -37,7 +37,7 @@
<dependency>
<groupId>org.jvnet.hudson.plugins</groupId>
<artifactId>analysis-core</artifactId>
<version>1.72</version>
<version>1.73-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.jvnet.hudson.plugins</groupId>
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/hudson/plugins/pmd/PmdMavenResultAction.java
Expand Up @@ -42,7 +42,8 @@ public PmdMavenResultAction(final AbstractBuild<?, ?> owner, final HealthDescrip
@Override
public MavenAggregatedReport createAggregatedAction(final MavenModuleSetBuild build, final Map<MavenModule, List<MavenBuild>> moduleBuilds) {
return new PmdMavenResultAction(build, getHealthDescriptor(), getDefaultEncoding(),
new PmdResult(build, getDefaultEncoding(), new ParserResult(), false, false));
new PmdResult(build, getDefaultEncoding(), new ParserResult(),
usePreviousBuildAsStable(), useOnlyStableBuildsAsReference()));
}

@Override
Expand Down

0 comments on commit db4e9a4

Please sign in to comment.