-
-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build.cake fails with tool installation using vso extension, works using bootstrapper #19
Comments
@dennisroche hmm, I am not able to reproduce this issue...
I am NOT using a nuget.config file, as the issue that you reference was actually closed in version 0.1.7. Have you tried this without using a nuget.config file? |
This is the project that I used for testing... https://github.com/gep13/CakeVstsTest/blob/master/Build/build.cake |
@gep13 thanks for taking the time to look at this Removing the
I do have another
If I remove this As I'm using a private nuget feed, I do need to have this root |
@devlead can you add anything to this one? @dennisroche when you say you are using a private nuget feed, can you confirm for which part of the build process that is for? |
the private feed is for our own nupkg's that developed internally - these are pulled in during the |
Agreed, I am not entirely clear on what is going on here. For now, any reason to not set the sources on the DotNetCoreRestoreSettings class, as per this example: http://cakebuild.net/api/cake.common.tools.dotnetcore/df2c8647/7df943ec |
That would work on VSTS, however would break the tooling in VS2015, i.e. wouldn't be able to add update packages from our feed. I could ask the team to manually add the feed to VS2015. I have a decent workaround using the |
What workaround? |
Running the bootstrap |
What You Are Seeing?
An error when installing a tool when running
build.cake
via VSTS extension.Error: Cake.Core.CakeException: Failed to install tool 'GitVersion.CommandLine'.
What is Expected?
build.cake
to execute the same if executed using thebuild.ps1
bootstrapper. Usingbuild.ps1
on the build agent executes as expected.What version of Cake are you using?
Using
0.1.7
that was updated 25/06/2016 3:43:49 AMAre you running on a 32 or 64 bit system?
Using a hosted agent on VSTS which is Windows Server 2012 R2, 64-bit environment, with Windows PowerShell
What environment are you running on? Hosted? Custom?
Hosted.
How Did You Get This To Happen? (Steps to Reproduce)
https://gist.github.com/dennisroche/084eff333760f2bf473f7dff6746997d
The above gist has the
build.cake
and the contents of thetools\**
. I've using anuget.config
file to workaround the issue #5.Remember, this works it using the
build.ps1
bootstrapper.Output Log
The text was updated successfully, but these errors were encountered: