I am trying to upload artifacts to artifactory server from Bamboo. I have created a build plan with following tasks,
1.Source code checkout
2.Maven 3 (where a artifact is built)
3.Artifactory Generic Deploy
The bamboo log says " Artifactory Generic Deploy Task must run as a final Task!" (yes, this has been configured as the final task) ,So when i again view the task configured it shows a " 401 error" (Refer screenshot1) which i think may be related to -https://www.jfrog.com/jira/browse/BAP-252
screenshot1.PNG
I have also done the artifactory server configuration,
Also,I tried uploading the same artifact manually from the server using curl which worked fine,
curl -u myUser:myP455w0rd! -X PUT "<a href="http://localhost:8081/artifactory/my-repository/my/new/artifact/directory/file.txt" rel="nofollow noopener noreferrer">http://localhost:8081/artifactory/my-repository/my/new/artifact/directory/file.txt"</a>
-T Desktop/myNewFile.txt
Can someone help in resolving the 401 error when configuring the Artifactory Generic Deploy task?