Class DeployUtils
java.lang.Object
org.jfrog.gradle.plugin.artifactory.utils.DeployUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voiddeployBuildInfo(org.jfrog.build.extractor.clientConfiguration.ArtifactoryClientConfiguration accRoot, org.jfrog.build.extractor.ci.BuildInfo buildInfo, Map<String, Set<org.jfrog.build.extractor.clientConfiguration.deploy.DeployDetails>> allDeployDetails) static voiddeployTaskArtifacts(org.jfrog.build.extractor.clientConfiguration.ArtifactoryClientConfiguration taskConfig, Map<String, String> propsRoot, Map<String, Set<org.jfrog.build.extractor.clientConfiguration.deploy.DeployDetails>> allDeployDetails, ArtifactoryBuildService.TaskData taskData, String logPrefix) Deploy all the artifacts from a given task's data based on given arguments.
-
Constructor Details
-
DeployUtils
public DeployUtils()
-
-
Method Details
-
deployTaskArtifacts
public static void deployTaskArtifacts(org.jfrog.build.extractor.clientConfiguration.ArtifactoryClientConfiguration taskConfig, Map<String, String> propsRoot, Map<String, Set<org.jfrog.build.extractor.clientConfiguration.deploy.DeployDetails>> allDeployDetails, ArtifactoryBuildService.TaskData taskData, String logPrefix) Deploy all the artifacts from a given task's data based on given arguments. Populate a given set with the details that were deployed.- Parameters:
taskConfig- - client configurations for this task's projectpropsRoot- - root properties to merge with the task propertiesallDeployDetails- - a container that will be populated with the details of the deployed artifactstaskData- - the task data from BuildServicelogPrefix- - in case the deployment is in multi-threads a prefix to each log
-
deployBuildInfo
public static void deployBuildInfo(org.jfrog.build.extractor.clientConfiguration.ArtifactoryClientConfiguration accRoot, org.jfrog.build.extractor.ci.BuildInfo buildInfo, Map<String, Set<org.jfrog.build.extractor.clientConfiguration.deploy.DeployDetails>> allDeployDetails) throws IOException- Throws:
IOException
-