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,299,834
Community Members
 
Community Events
165
Community Groups

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

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 should be able to use curl to upload the files to the desired location

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

967 views 3 8
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