Skip to content

Allow Build Publish with overwrite Flag When Build Number is New#55

Merged
bhanurp merged 1 commit intojfrog:mainfrom
bhanurp:fix-build-number-not-found
Apr 14, 2025
Merged

Allow Build Publish with overwrite Flag When Build Number is New#55
bhanurp merged 1 commit intojfrog:mainfrom
bhanurp:fix-build-number-not-found

Conversation

@bhanurp
Copy link
Collaborator

@bhanurp bhanurp commented Mar 17, 2025

  • All tests passed. If this feature is not already covered by the tests, I added new tests.
  • All static analysis checks passed.
  • This pull request is on the dev branch.
  • I used gofmt for formatting the code before submitting the pull request.

Fix: Allow Build Publish with overwrite Flag When Build Number is New

Issue

When attempting to publish a build with the overwrite flag, the process fails if the buildName already exists in Artifactory but the buildNumber is new. The failure occurs due to a missing build number in Artifactory.

Current Behavior

  • Publishing fails with an error stating that the build number is not available.

Solution

  • Ensure that the build info is pushed even if the specified buildNumber is not yet available in Artifactory.

@bhanurp bhanurp added the bug Something isn't working label Mar 19, 2025
@bhanurp bhanurp marked this pull request as ready for review March 19, 2025 08:08
Copy link
Collaborator

@itsmeleela itsmeleela left a comment

Choose a reason for hiding this comment

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

Looks good to me

@bhanurp bhanurp merged commit 4154495 into jfrog:main Apr 14, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants