Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fixed JENKINS-39469, now "do not archive report" works properly.
  • Loading branch information
jackzenko committed Jan 4, 2017
1 parent 312bd52 commit cc60dfa
Showing 1 changed file with 5 additions and 0 deletions.
Expand Up @@ -87,6 +87,7 @@
import java.util.Map;
import java.util.TreeMap;

import static com.hp.application.automation.tools.model.ResultsPublisherModel.dontArchiveResults;
import static com.hp.application.automation.tools.results.projectparser.performance.XmlParserUtil.getNode;
import static com.hp.application.automation.tools.results.projectparser.performance.XmlParserUtil.getNodeAttr;

Expand Down Expand Up @@ -286,6 +287,10 @@ private void archiveTestsReport(
"Report archiving mode is set to: "
+ _resultsPublisherModel.getArchiveTestResultsMode());

// if user specified not to archive report
if (_resultsPublisherModel.getArchiveTestResultsMode().equals(dontArchiveResults.getValue()))
return;

FilePath projectWS = runWorkspace;

// get the artifacts directory where we will upload the zipped report
Expand Down

0 comments on commit cc60dfa

Please sign in to comment.