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

Commit

Permalink
[JENKINS-14570] Don't try to delete XML files anymore.
Browse files Browse the repository at this point in the history
These should not be created at all using the new API calls.
  • Loading branch information
uhafner committed Aug 21, 2012
1 parent b588928 commit 401cc9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.jvnet.hudson.plugins</groupId>
<artifactId>analysis-pom</artifactId>
<version>1.38</version>
<version>1.39</version>
<relativePath>../analysis-pom/pom.xml</relativePath>
</parent>

Expand Down
Expand Up @@ -5,8 +5,8 @@
import hudson.model.AbstractBuild;
import hudson.plugins.analysis.Messages;
import hudson.plugins.analysis.core.BuildHistory;
import hudson.plugins.analysis.core.BuildResult;
import hudson.plugins.analysis.core.ParserResult;
import hudson.plugins.analysis.core.BuildResult;
import hudson.plugins.analysis.util.model.DefaultAnnotationContainer;
import hudson.plugins.analysis.util.model.FileAnnotation;
import hudson.plugins.analysis.util.model.Priority;
Expand Down Expand Up @@ -62,8 +62,6 @@ public void checkZeroWarningsCounterInitializationStartUnstable() {
calendar.add(Calendar.DAY_OF_YEAR, 2);
result = createBuildResult(createBuild(0, calendar), new ParserResult(), result);
verifyResult(0, 1, timeOfFirstZeroWarningsBuild, TWO_DAYS_IN_MS, true, 0, result);

result.getDataFile().delete();
}

/**
Expand Down Expand Up @@ -114,8 +112,6 @@ public void checkThatZeroWarningsIsUpdated() {
calendar.add(Calendar.DAY_OF_YEAR, 2);
result = createDefaultResultWithNoWarnings(4, calendar, result);
verifyResult(0, 3, timeOfFirstZeroWarningsBuild, 2 * TWO_DAYS_IN_MS, true, 0, result);

result.getDataFile().delete();
}

/**
Expand Down Expand Up @@ -146,8 +142,6 @@ public void checkZeroWarningsCounterInitialization() {
calendar.add(Calendar.DAY_OF_YEAR, 2);
result = createBuildResult(createBuild(0, calendar), new ParserResult(), result);
verifyResult(0, 0, timeOfFirstZeroWarningsBuild, TWO_DAYS_IN_MS, true, 0, result);

result.getDataFile().delete();
}

/**
Expand Down

0 comments on commit 401cc9f

Please sign in to comment.