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

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

Tulasi Vijaya Kumar Thulluru
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 12, 2015

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
Horodchuk Anton
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 6, 2019

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"
0 votes
Tulasi Vijaya Kumar Thulluru
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 12, 2015

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
Nirmal Shankar October 12, 2015

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
AUG Leaders

Atlassian Community Events