It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to push a .NET artefact built by Nuget to Nexus using Bamboo

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

3 answers

0 votes
Nirmal Shankar Oct 12, 2015

You should be able to use curl to upload the files to the desired location

0 votes

Hi @Nirmal Shankar,

Thank you so much for the prompt response.

Is there any documentation available for this

 

for configuring this task in Bamboo. 

 

 

 

0 votes

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"

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Marketplace Apps & Integrations

Webinar alert! An IT Admin's Guide to Securing Collaboration at Scale

Hello, Atlassian Community! My name is Dave Meyer and I'm a Principal Product Manager at Atlassian. I wanted to give this community a heads up about an upcoming Webinar that might be of interest...

161 views 2 7
Read article

Community Events

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

Events near you