diff --git a/pom.xml b/pom.xml index a344142..1ee2f23 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ 4.0.0 org.jfrog.bamboo bamboo-jfrog-plugin - 1.0.3 + 1.0.4 JFrog Ltd @@ -30,7 +30,7 @@ atlassian-plugin - 9.3.3 + 9.6.2 ${bamboo.version} 8.11.4 3.0.3 @@ -41,7 +41,7 @@ ${java.version} ${java.version} - 2.41.6 + 2.41.16 @@ -106,7 +106,7 @@ org.jfrog.artifactory.client artifactory-java-client-api - 2.14.0 + 2.17.0 test diff --git a/src/main/java/org/jfrog/bamboo/PostBuildAction.java b/src/main/java/org/jfrog/bamboo/AgentBuildProcessor.java similarity index 82% rename from src/main/java/org/jfrog/bamboo/PostBuildAction.java rename to src/main/java/org/jfrog/bamboo/AgentBuildProcessor.java index 2444ed0..3a304c3 100644 --- a/src/main/java/org/jfrog/bamboo/PostBuildAction.java +++ b/src/main/java/org/jfrog/bamboo/AgentBuildProcessor.java @@ -1,6 +1,6 @@ package org.jfrog.bamboo; -import com.atlassian.bamboo.build.CustomPostBuildCompletedAction; +import com.atlassian.bamboo.build.CustomBuildProcessor; import com.atlassian.bamboo.v2.build.BuildContext; import com.atlassian.bamboo.variable.CustomVariableContext; import org.codehaus.plexus.util.FileUtils; @@ -9,7 +9,12 @@ import java.io.IOException; -public class PostBuildAction implements CustomPostBuildCompletedAction { +/** + * Post-build action that deletes the temporary JFrog build directory, + * executed on the agent side (remote or local) to make sure we have + * access to the temp folder we created. + */ +public class AgentBuildProcessor implements CustomBuildProcessor { private BuildContext buildContext; private CustomVariableContext customVariableContext; diff --git a/src/main/resources/atlassian-plugin.xml b/src/main/resources/atlassian-plugin.xml index 7139778..36b741b 100644 --- a/src/main/resources/atlassian-plugin.xml +++ b/src/main/resources/atlassian-plugin.xml @@ -17,11 +17,12 @@ - + + Cleans up the temporary JFrog directory when the build is completed - +