Skip to content

Commit

Permalink
Removing test dep on compress-artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
jglick authored and MarkEWaite committed Jan 22, 2023
1 parent f671abd commit ebd6baf
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
6 changes: 0 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,6 @@
<artifactId>pipeline-build-step</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>compress-artifacts</artifactId>
<version>98.vb_20f3c77ddf7</version>
<scope>test</scope>
</dependency>
<dependency>
<!-- for DirectArtifactManagerFactory -->
<groupId>org.jenkins-ci.plugins.workflow</groupId>
Expand Down
14 changes: 0 additions & 14 deletions src/test/java/hudson/plugins/copyartifact/CopyArtifactTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@
import org.acegisecurity.context.SecurityContextHolder;
import org.acegisecurity.providers.UsernamePasswordAuthenticationToken;
import org.apache.commons.lang.StringUtils;
import org.jenkinsci.plugins.compress_artifacts.CompressingArtifactManagerFactory;
import org.jenkinsci.plugins.workflow.DirectArtifactManagerFactory;
import org.junit.After;
import org.junit.ClassRule;
Expand Down Expand Up @@ -2340,19 +2339,6 @@ public void testResultVariableSuffix() throws Exception {
}
}

@Issue("JENKINS-22637")
@Test
public void compressArtifacts() throws Exception {
ArtifactManagerConfiguration.get().getArtifactManagerFactories().add(new CompressingArtifactManagerFactory());
FreeStyleProject other = createArtifactProject();
rule.buildAndAssertSuccess(other);
FreeStyleProject p = createProject(other.getName(), null, "", "", false, false, false, false);
FreeStyleBuild b = rule.buildAndAssertSuccess(p);
assertFile(true, "foo.txt", b);
assertFile(true, "subdir/subfoo.txt", b);
assertFile(true, "deepfoo/a/b/c.log", b);
}

@Issue("JENKINS-49635")
@Test
public void directDownload() throws Exception {
Expand Down

0 comments on commit ebd6baf

Please sign in to comment.