I have a .NET project for which I have configured a Bamboo plan and would like to push this artifact built by NuGet into nexus repository through Bamboo. I am relatively new with Bamboo and would like to push this artifact to nexus , any help would be greatly appreciated. Please suggest appropriate documentation.
Thanks in advance,
Tulasi Vijaya Kumar Thulluru
For anyone who will come here looking for an answer
This page is useful
https://support.sonatype.com/hc/en-us/articles/213465818-How-can-I-programmatically-upload-an-artifact-into-Nexus-2-
For Nuget repo the comand will look like
curl -4 -u ${NEXUS_USERNAME}:${NEXUS_PASSWORD} -X POST -H "Save-Data: On" \
-F r=nuget-private -F "filename=helloworld.1.3.0.14.nupkg" -F "file=@helloworld.1.3.0.14.nupkg" \
"http://localhost:8081/nexus/service/local/artifact/nuget/content"
Hi @Nirmal Shankar,
Thank you so much for the prompt response.
Is there any documentation available for this
for configuring this task in Bamboo.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You should be able to use curl to upload the files to the desired location
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.