Skip to content

Rollback artifactTarget and add targetRepo to json output#532

Merged
gailazar300 merged 3 commits intojfrog:masterfrom
gailazar300:fix-target-url
Jul 13, 2021
Merged

Rollback artifactTarget and add targetRepo to json output#532
gailazar300 merged 3 commits intojfrog:masterfrom
gailazar300:fix-target-url

Conversation

@gailazar300
Copy link
Copy Markdown
Contributor

  • All tests passed. If this feature is not already covered by the tests, I added new tests.

@gailazar300 gailazar300 requested a review from eyalbe4 July 12, 2021 14:57
*/
private Boolean deploySucceeded;
/**
* Target deploy repository.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

deploy --> deployment

// Save information returned from Artifactory after deployed.
artifact.setDeploySucceeded(true);
artifact.setSha256(response.getChecksums().getSha256());
// In case of a SNAPSHOT deploy artifact's name is being modify by artifactory.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

// In case of a SNAPSHOT deploy artifact's name is being modify by artifactory.
-->
// When a maven SNAPSHOT artifact is deployed, Artifactory adds a timestamp to the artifact name, after the artifact is deployed.

deployableArtifacts.forEach(artifact -> {
try {
ArtifactoryUploadResponse response = artifactoryManager.upload(artifact, logPrefix);
// Save information returned from Artifactory after deployed.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

... after deployed. --> ... after the deployment.

@gailazar300 gailazar300 merged commit d07836f into jfrog:master Jul 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants