[HAP-534] Artifactory release Promotion fails when 'Include dependencies' was checked once Created: 22/Oct/14  Updated: 14/Nov/17  Resolved: 23/Aug/15

Status: Resolved
Project: Jenkins Artifactory Plug-in
Component/s: None
Affects Version/s: 2.3.1
Fix Version/s: 2.4.0

Type: Bug Priority: Normal
Reporter: Ariel Seftel Assignee: Lior Hasson (Inactive)
Resolution: Fixed Votes: 1
Labels: None

Attachments: JPEG File ReleasePromotion.JPG    
Issue Links:
is related to HAP-396 Moving artifacts residing in multiple... Resolved


When doing 'Artifactory Release Promotion' with 'Include dependencies' on Maven job, and the user does not have the permission to move the dependency, an error of lack of permissions is shown. That is a normal behavior but the issue is when trying to run 'Artifactory Release Promotion' right after without the 'Include dependencies' than it fails with the same error of lacking permission to delete the dependency.
Scenario to reproduce:
1. Run a build.
2. Run Artifactory Release Staging.
3. Run Artifactory Release Promotion with Include dependencies checked when the dependency is deployed to a repository that the user does not have delete permission on.
4. Run Artifactory Release Promotion without checking the Include dependencies check box.
The permission error will appear.

Comment by Lior Hasson (Inactive) [ 09/Aug/15 ]

A new field named " Source promotion repository" added to the promotion page in Jenkins plugin, that will recommend to Artifactory from where to look up the artifacts.

Generated at Mon Jun 01 20:23:44 UTC 2020 using Jira 8.5.3#805003-sha1:b4933e02eaff29a49114274fe59e1f99d9d963d7.