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 ?
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?
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 ..
I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events