Skip to content
Permalink
Browse files
[JENKINS-14570] Don't try to delete XML files anymore.
These should not be created at all using the new API calls.
  • Loading branch information
uhafner committed Aug 21, 2012
1 parent b588928 commit 401cc9ff6473b8bfcb5269a3252716476e05d70a
Showing with 2 additions and 8 deletions.
  1. +1 −1 pom.xml
  2. +1 −7 src/main/java/hudson/plugins/analysis/test/BuildResultTest.java
@@ -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>

@@ -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;
@@ -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();
}

/**
@@ -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();
}

/**
@@ -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();
}

/**

0 comments on commit 401cc9f

Please sign in to comment.