I'm trying to setup bamboo for an existing solution in order to automize deploy.
Im using Nuget and the dll handled by nuget are not committed in bitbucket.
Is there any chance for automizing restore missing packages in bamboo?
I find only that url talking about this: https://gist.github.com/sirkirby/045e4131a04f345293d3 but i cannot figure where I have to place that kind of command.
You need to have on the server the nuget.exe and nuget.config to use.
Here is the code I use to have it work with a visual studio solution.
This is using power shell, (latest version available)
$processStartInfo = new-object System.Diagnostics.ProcessStartInfo;
$processStartInfo.Filename = "$pwd\nuget.exe";
$processStartInfo.Arguments = "restore $param";
$processStartInfo.RedirectStandardOutput = $True;
$processStartInfo.RedirectStandardError = $True;
$processStartInfo.UseShellExecute = $False;
$process = New-Object System.Diagnostics.Process;
$process.StartInfo = $processStartInfo;
$process.start() | Out-Null;
if($process.ExitCode -ne 0)
Write-Host "Error :"$process.StandardError.ReadToEnd();
throw "nuget Error";
You will need to set the paths properly but the above code has been working for a few months on our server.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs