Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,10 @@ private static void deployArtifacts(Set<GradleDeployDetails> artifactsDeployDeta
ArtifactoryUploadResponse response = artifactoryManager.upload(deployDetails, logPrefix, minChecksumDeploySizeKb);
detail.getDeployDetails().setDeploySucceeded(true);
detail.getDeployDetails().setSha256(response.getChecksums().getSha256());
// When a maven SNAPSHOT artifact is deployed, Artifactory adds a timestamp to the artifact name, after the artifact is deployed.
// ArtifactPath needs to be updated accordingly.
detail.getDeployDetails().setArtifactPath(response.getPath());
log.info("{}Deployed artifact to: {}", logPrefix, response.getUri());
} catch (IOException e) {
detail.getDeployDetails().setDeploySucceeded(false);
detail.getDeployDetails().setSha256("");
Expand Down
Loading