2020-07-21 13:22:30 +03:00
|
|
|
set INPUT_VERSION=v0.7.x
|
2020-07-21 13:43:19 +03:00
|
|
|
if %INPUT_PUBLISHERID% == meA (set INPUT_PUBLISHERID=meB) else (set INPUT_PUBLISHERID=meA)
|
2018-08-11 20:48:56 +03:00
|
|
|
|
2020-07-21 13:22:30 +03:00
|
|
|
set AGENT_WORKFOLDER=c:\temp\agent\work
|
|
|
|
set AGENT_TOOLSDIRECTORY=c:\temp\agent\tools
|
|
|
|
set AGENT_TEMPDIRECTORY=c:\temp\agent\temp
|
|
|
|
set AGENT_VERSION=2.211.2
|
2018-08-11 20:48:56 +03:00
|
|
|
|
2018-08-22 12:53:03 +03:00
|
|
|
set NODE_ENV=production
|
2018-08-21 19:29:59 +03:00
|
|
|
set NO_UPDATE_NOTIFIER=true
|
|
|
|
|
2018-08-11 20:48:56 +03:00
|
|
|
cmd /c "npm run build:tasks"
|
|
|
|
|
2020-07-21 13:22:30 +03:00
|
|
|
pushd BuildTasks\TfxInstaller\TfxInstaller
|
|
|
|
node TfxInstaller.js
|
|
|
|
popd
|
|
|
|
|
|
|
|
set __TFXPATH=c:\temp\agent\tools\tfx\0.7.11\x64
|
|
|
|
set INPUT_EXTENSIONID=ext
|
|
|
|
set INPUT_EXTENSIONVERSION=8.9.10
|
2020-07-21 13:43:19 +03:00
|
|
|
|
|
|
|
|
2020-07-21 13:22:30 +03:00
|
|
|
set INPUT_ROOTFOLDER=C:\Users\jesse\source\repos\vsts-ping-task-demo
|
|
|
|
set INPUT_UPDATETASKSID=true
|
|
|
|
set INPUT_UPDATETASKSVERSION=true
|
|
|
|
set INPUT_UPDATETASKSVERSIONTYPE=minor
|
|
|
|
set INPUT_PATTERNMANIFEST=vss-extension*.json
|
2018-08-21 19:29:59 +03:00
|
|
|
pushd BuildTasks\PackageExtension\PackageExtension
|
2020-07-21 13:22:30 +03:00
|
|
|
rem c:\TfsData\jessehouwing\externals.2.111.1\node\bin\node.exe PackageExtension.js
|
|
|
|
rem c:\TfsData\jessehouwing\externals.2.136.1\node\bin\node.exe PackageExtension.js
|
2018-08-20 15:34:32 +03:00
|
|
|
node PackageExtension.js
|
2018-08-11 20:48:56 +03:00
|
|
|
popd
|