cake-vso
cake-vso copied to clipboard
tool path setting in `cake.config` is ignored.
What You Are Seeing?
I have a repository, containing a cake.config file with the content:
[Paths]
Tools=./.cake
What is Expected?
I would expect the cake.config to be honored and .cake as the folder for tools to be used.
What version of Cake are you using?
2.1.0
Are you running on a 32 or 64 bit system?
64 bit.
What environment are you running on? Hosted? Custom?
Hosted.
How Did You Get This To Happen? (Steps to Reproduce)
- create a new cake build, containing a
cake.configwhich points the tool location to anything other thantools. - add content to the tools folder
- run the pipeline using this task - the tools folder will be set to
toolsand not the configured value fromcake.configand the manually added content will not be used.
Output Log
Starting: Cake
==============================================================================
Task : Cake
Description : Build with Cake
Version : 2.1.0
Author : Patrik Svensson
Help : [More Information about Cake](https://cakebuild.net)
==============================================================================
=====================================================
Root = /home/vsts/work/1/s
Tools = /home/vsts/work/1/s/tools
Cake Tool Path = /home/vsts/work/1/s/tools/dotnet-cake
Package Feed =
=====================================================
Creating tools directory...
Installing Cake Tool (Latest)...
/usr/bin/dotnet tool install --tool-path /home/vsts/work/1/s/tools/ Cake.Tool
You can invoke the tool using the following command: dotnet-cake
Tool 'cake.tool' (version '2.0.0') was successfully installed.
Executing build script...
/home/vsts/work/1/s/tools/dotnet-cake /home/vsts/work/1/s/build.cake --target=Default --verbosity=Diagnostic --paths_tools=/home/vsts/work/1/s/tools
Looking for modules...
No modules found to install.
Module directory does not exist.
...