401, Unauthorized error on Bamboo for Valid user

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 "http://localhost:8081/artifactory/my-repository/my/new/artifact/directory/file.txt" 

-T Desktop/myNewFile.txt

 

Can someone help in resolving the 401 error when configuring the Artifactory Generic Deploy task?

1 answer

0 vote

Hi Ashwini,

This error seems to originate from Artifactory and not from Bamboo, so you should seek help from the Artifactory community.

-Christian

Premier Support Engineer

Atlassian

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,568 views 0 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you