My team is working on a TFS/VSTS custom build task that utilizes the vsts-task-lib.
We followed the instructions on this github page to include it with your custom task.
I have the vsts-task-lib installed locally for interactive testing, and that is executing ok. I am able to get the extension uploaded and installed into my VSTS account/project.
However, when I line everything up and execute a Release on VSTS, I get the following:
2016-12-22T21:41:27.4700501Z ##[section]Starting: ApprendaDeploy
2016-12-22T21:41:27.5110766Z ==============================================================================
2016-12-22T21:41:27.5120761Z Task : Deploy App on Apprenda
2016-12-22T21:41:27.5120761Z Description : This task deploys your application onto ACP
2016-12-22T21:41:27.5120761Z Version : 0.1.0
2016-12-22T21:41:27.5120761Z Author : Apprenda
2016-12-22T21:41:27.5120761Z Help : Replace with markdown to show in help
2016-12-22T21:41:27.5120761Z ==============================================================================
2016-12-22T21:41:27.8483971Z ##[error]File not found: 'C:a\_tasksApprendaDeploy_fb765e50-c211-11e6-9471-0d5c99017b97.1.0ps_modulesVstsTaskSdkVstsTaskSdk.psd1'
2016-12-22T21:41:27.8553964Z ##[section]Finishing: ApprendaDeploy
I'm using vsts-task-lib v0.8.0 and my task root file directory looks like this:
|-- apprendaDeploy <task root>
|----- ps_modules
|----- VstsTaskSDK
|----- 0.8.0
|------ <corresponding sdk files, including VstsTaskSdk.psd1>
|----- common.ps1
|----- deploy.ps1
|----- icon.png
|----- task.json
Any ideas?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…