geeklearningio / gl-vsts-tasks-yarn

Yarn Package Manager Visual Studio Team Services Build and Release Management extensions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not honouring Project Directory setting

Mardoxx opened this issue · comments

I have a yarn install task with Project Directory set as $(System.DefaultWorkingDirectory)/Release/ApplicationPackageRoot/WebUIPkg/Code and the Production flag set.

Output is as follows:

2017-09-13T11:00:14.0838653Z [command]C:\Windows\system32\cmd.exe /D /S /C "C:\NPM\Modules\yarn.cmd --production install"
2017-09-13T11:00:14.5278652Z yarn install v1.0.1
2017-09-13T11:00:14.5638843Z info No lockfile found.
2017-09-13T11:00:14.5728658Z [1/4] Resolving packages...
2017-09-13T11:00:16.0594477Z [2/4] Fetching packages...
2017-09-13T11:00:19.3006297Z [3/4] Linking dependencies...
2017-09-13T11:00:20.6145066Z [4/4] Building fresh packages...
2017-09-13T11:00:20.6405089Z success Saved lockfile.
2017-09-13T11:00:20.6425069Z Done in 6.12s.

As in, it's running in the wrong directory!

If I use the npm task with identical settings it works fine.

@sandorfr sorry! Package install was so quick I thought something was wrong. When deployed it was like nothing had installed, must be a different issue.

Thanks!