Search in sources :

Example 6 with ArtifactoryUploadResponse

use of org.jfrog.build.client.ArtifactoryUploadResponse in project build-info by JFrogDev.

the class Upload method execute.

@Override
public ArtifactoryUploadResponse execute(JFrogHttpClient client) throws IOException {
    log.info(logPrefix + "Deploying artifact: " + client.getUrl() + "/" + StringUtils.removeStart(buildDefaultUploadPath(details), "/"));
    ArtifactoryUploadResponse response = tryChecksumUpload(client);
    if (response != null) {
        // Checksum deploy was performed:
        return response;
    }
    return super.execute(client);
}
Also used : ArtifactoryUploadResponse(org.jfrog.build.client.ArtifactoryUploadResponse)

Aggregations

ArtifactoryUploadResponse (org.jfrog.build.client.ArtifactoryUploadResponse)6 DeployDetails (org.jfrog.build.extractor.clientConfiguration.deploy.DeployDetails)4 IOException (java.io.IOException)2 ArtifactBuilder (org.jfrog.build.extractor.builder.ArtifactBuilder)2 Path (java.nio.file.Path)1 ModuleBuilder (org.jfrog.build.extractor.builder.ModuleBuilder)1 ArtifactoryManagerBuilder (org.jfrog.build.extractor.clientConfiguration.ArtifactoryManagerBuilder)1