From a210c6de036508acb547bcfffc8fbb087e09c8ce Mon Sep 17 00:00:00 2001 From: yahavi Date: Wed, 4 Oct 2023 09:36:04 +0300 Subject: [PATCH] Don't delete build artifacts in integration tests --- .../org/jfrog/hudson/pipeline/integration/ITestUtils.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/test/java/org/jfrog/hudson/pipeline/integration/ITestUtils.java b/src/test/java/org/jfrog/hudson/pipeline/integration/ITestUtils.java index ac3ffc962..15b08c9bf 100644 --- a/src/test/java/org/jfrog/hudson/pipeline/integration/ITestUtils.java +++ b/src/test/java/org/jfrog/hudson/pipeline/integration/ITestUtils.java @@ -369,9 +369,7 @@ static void assertDockerModuleProperties(Module module) { static void deleteBuild(Artifactory artifactoryClient, String buildName) throws IOException { artifactoryClient.restCall(new ArtifactoryRequestImpl() .method(ArtifactoryRequest.Method.DELETE) - .apiUrl("api/build/" + encodeBuildName(buildName)) - .addQueryParam("deleteAll", "1") - .addQueryParam("artifacts", "1")); + .apiUrl("api/build/" + encodeBuildName(buildName))); } /**