0
votes

I'm using the Artifactory plugin for my Java projects and also for some RPMs that I'm building (c++). Some of Jenkins jobs are pushing artifacts using the REST API via CURL. Is there any way via the plugin and/or via REST, to prevent overriding of an existing artifact (sometimes our versioning mechanism is not working properly, so I need to prevent this scenario)?

1

1 Answers

1
votes

You should leverage the permissions for that. In Artifactory "add" and "override" are different permissions. Just prevent the user which pushes from Jenkins from overriding, and you're done.