Skip to content

Instantly share code, notes, and snippets.

@robgha01
Created June 21, 2016 13:04
Show Gist options
  • Save robgha01/2681e5490583d79307da9d4f61e4c92b to your computer and use it in GitHub Desktop.
Save robgha01/2681e5490583d79307da9d4f61e4c92b to your computer and use it in GitHub Desktop.
Syncing repository: BlueLeet.Common (Git)
Starting clone
Checking out abba9a39952d2ec736d9cf4ab59d4451d13c279c to C:\a\1\s
Checked out branch refs/heads/master for repository BlueLeet.Common at commit abba9a39952d2ec736d9cf4ab59d4451d13c279c
******************************************************************************
Running tasks
******************************************************************************
******************************************************************************
Starting task: Cake
******************************************************************************
Executing the powershell script: C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\agents\1.101.2\tasks\Cake\0.1.6\Cake.ps1
Creating tools directory...
Installing Cake...
Installing 'Cake 0.13.0'.
Successfully installed 'Cake 0.13.0'.
C:\a\1\s\tools\Cake\Cake.exe "C:\a\1\s\Build\build.module.cake" -target="Build-Nuget" -verbosity="Diagnostic" -Experimental -targetOutput="C:\a\1\a" -projectName="BlueLeet.Common"
Module directory does not exist.
Analyzing build script...
Analyzing C:/a/1/s/Build/build.module.cake...
Processing build script...
Installing tools...
Creating directory C:/a/1/s/Build/tools
Installing NuGet package NUnit.ConsoleRunner...
Error: Cake.Core.CakeException: Could not locate nuget.exe.
at Cake.Core.IO.NuGet.NuGetToolResolver.ResolvePath()
at Cake.NuGet.NuGetPackageInstaller.GetNuGetPath()
at Cake.NuGet.NuGetPackageInstaller.Install(PackageReference package, PackageType type, DirectoryPath path)
at Cake.Core.Scripting.ScriptProcessor.InstallTools(ScriptAnalyzerResult analyzerResult, DirectoryPath installPath)
at Cake.Core.Scripting.ScriptRunner.Run(IScriptHost host, FilePath scriptPath, IDictionary`2 arguments)
at Cake.Commands.BuildCommand.Execute(CakeOptions options)
at Cake.CakeApplication.Run(CakeOptions options)
at Cake.Program.Main()
System.Exception: Unexpected exit code 1 returned from tool Cake.exe
at Microsoft.TeamFoundation.DistributedTask.Task.Internal.PowerShell.InvokeToolCmdlet.ProcessRecord()
at System.Management.Automation.CommandProcessor.ProcessRecord()
******************************************************************************
Finishing task: Cake
******************************************************************************
System.Exception: Task Cake failed. This caused the job to fail. Look at the logs for the task for more details.
at Microsoft.TeamFoundation.DistributedTask.Worker.JobRunner.Run(IJobContext jobContext, IJobRequest job, IJobExtension jobExtension, CancellationTokenSource tokenSource)
******************************************************************************
Finishing Build
******************************************************************************
Worker Worker-7c28d542-e299-436d-affe-c8734d3cc840 finished running job 7c28d542-e299-436d-affe-c8734d3cc840
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment