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

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

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

Hi @Nirmal Shankar,

Thank you so much for the prompt response.

Is there any documentation available for this

 

for configuring this task in Bamboo. 

 

 

 

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
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center - Early Access Program 2

We’re preparing for Bamboo 8.0, which will be our first Data Center release. To make sure our app vendors and customers with written in-house apps are prepared, we’re launching Bamboo 8.0 Early Acces...

102 views 0 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