Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,460,113
Community Members
 
Community Events
176
Community Groups

Upload to articatory fails via Bamboo.

Hi Team,

I am getting "User not allowed to deploy the file at <artifactory location>" when trying to upload a document from local path to articatory via  Shell script task. But when manually trying to upload any file to the artifactory location I am able to so.

 

curl -v --user username:password --data-binary @./<file> -X PUT "https://<artifactoryurl>/<path>/".

 

Please advice reagrding what additional set up I need to do ?

2 answers

Hi @Jeyanthan I . basically requirement is to access a Windows shared drive and get the files from shared (NAS) drive to Artifactory via Bamboo(Bammboo sits in Linux server) . In order to perform the files movement from shared drive to Artifactory  I had used curl 

$ curl -v --user <shared folder username>:<shared folder username>  <shared folderpath\File to be moved >  -X PUT curl -u<artifactoryusername:<artifactorypassword> -T <Artifactory path where file to be copied>.

 

Will  Artifactory Generic Deployment task able to execute the task properly of retrieving and uploading ?

 Please advice ..

0 votes
Jeyanthan I Atlassian Team Mar 05, 2018

Hi Sangha,

This looks like a permission issue to me. I believe you are referring to the Artifactory plugin. If so, this page seems to explain how to manage permissions to upload artifact to artifactory repository. The respective logs should show the request and which user submitted it and it's response. Also, if your requirement is to deploy the artifact, how about using the Artifactory Generic Deploy Task instead of a curl?

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events