[BAP-399] When leaving empty Artifactory URL for deployment in maven 3 project, the resolution Artifactory URL is not saved Created: 19/Oct/17  Updated: 21/Feb/18  Resolved: 17/Jan/18

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

Type: Bug Priority: Normal
Reporter: Shai Ben-Zvi Assignee: Alexei Vainshtein
Resolution: Fixed Votes: 0
Labels: None

Attachments: PNG File Screen Shot 2017-10-24 at 12.03.47.png    

 Description   

steps to reproduce:

1. Create an Artifactory Maven 3 Task

a. Project File: pom.xml

b. Goals: install

c. Build: JDK 1.8

d. Executable: Artifactory Maven 3

e. Resolve artifacts from Artifactory: True

f. Resolution Artifactory Server URL: https://

{artifactoryhostname}

/artifactory

g. Resolution repository: 'some-virtual'(make sure you have number of repositories in your instance)

h. Resolver Username&Password: UN/PW

i. Click Save

2. Navigate back to edit the task

a. Resolution repository changes from 'some-vritual' to another repository(its not saved, its always takes the first from the list in the combo-box).

b. Try and change it from 'different repository' TO 'some-virtual'

c. Click Save

could reproduce it on bamboo-plugin 2.3.0(couldn't choose it from the affects versions fields).



 Comments   
Comment by Eyal Ben Moshe [ 13/Nov/17 ]

A fix for this issue was contributed in the following pull request:
https://github.com/JFrogDev/bamboo-artifactory-plugin/pull/48
Thank you Alexei Vainshtein!

Generated at Sun Oct 20 11:12:13 UTC 2019 using JIRA 7.6.16#76018-sha1:9ed376192612a49536ac834c64177a0fed6290f5.