The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Power Shell script

Deepak Kumar
April 20, 2020

Hello there, i am trying to write a powershell script which allows me to deploy my build .Net project into nexus oss repository manager. I have done it with pom,xml, maven build. I require help with scripting. 

So far i only have these script with me. Where do i begin? Need advice, thanks. 

if ((Test-Path -Path ${bamboo.build.working.directory}\uploadcheck.ps1) -ne "False") {

echo "script not found"

throw -1

}

. "${bamboo.build.working.directory}\uploadcheck.ps1"

uploadart "${bamboo.ship.buildmaster.username}" "${bamboo.ship.buildmaster.password}"
"${bamboo.build.working.directory}\${bamboo.app.name.01}\" "WebApplicationMVC.zip" "${bamboo.nexus.artifactrepository.url}/${bamboo.nexus.artifactrepository.id}/${bamboo.nexus.artifactrepository.groupid}/${bamboo.app.name.01}/${bamboo.version}/WebApplicationMVC.zip"

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events