Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest version of Teamcity artifactory plugin expecting a delete/override permission if we publish multiple buildinfos from a single build job #135

Open
tataraov opened this issue Mar 17, 2023 · 0 comments

Comments

@tataraov
Copy link

Problem statement :
If we deploy two build info objects from the same build job, the latest version of the TeamCity Artifactory plugin expects a delete/override permission for publishing the second build object. Artifactory allows publishing multiple build-info's with the same build name and number. However, they are still different build-info instances, with different timestamps. It seems that the bug in the plugin stopped changing the timestamps between steps. This issue was not reproducible in the 2.7.0 version of the plugin, however, able to reproduce in versions 2.9.4, 2.10.0, and 2.10.1 versions.

Reproduction Step:

  1. Create a sample build job with two build steps.
  2. Buildstep1 builds a maven application and publishes build info.
  3. Buildstep2 builds uploads an artifact to Artifactory and collects the build info and publishes it to Artifactory.

Workaround:

  1. Provide delete build permission to the user to address the issue. (or)
  2. In the second build step, set the build name to a different one.
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

No branches or pull requests

1 participant