Azure Devops Server 2020 1.2 patch 8 installation issue

61 Views Asked by At

The documentation listed for Azure Devops Server 1.2 patch 10 lists the Configure TFX and Update tasks using TFS, but I'm unable to follow those steps for the on premise version of Azure Devops Server. When I click the link for Upload Tasks to the Project Collection, it switches to the documentation for Azure Devops Services, not Azure Devops Server, which makes me think it doesn't apply to Azure Devops Server; especially since I cannot run the command to install tfx-cli. Please clarify which steps are for Azure Devops server and which apply only to Azure Devops Services.

When I clicked on the link to upload tasks to project collection, I need more details on the step to install tfx-cli. I'm able to install node.js, but the npm command doesn't work.

2

There are 2 best solutions below

3
Shamrai Aleksander On

Yes, it is for Azure DevOps Services. However, there is notice that you may use it for the Azure DevOps Server:

enter image description here

Here you may use that from the document:

npm install -g tfx-cli
~$ tfx login

then check the instructions on the release page:

tfx build tasks upload --task-zip-path AzureFileCopyV1.1.230.0.zip
tfx build tasks upload --task-zip-path AzureFileCopyV2.2.230.0.zip 
tfx build tasks upload --task-zip-path AzureFileCopyV3.3.230.0.zip 
....
....
....
2
jessehouwing On

There is an alternative option through a PowerShell script that Microsoft Support has shared in the past. I maintain a GitHub project that keeps a copy of each released version of a Microsoft task to enable Azure DevOps Server users to use newer versions of tasks than the ones that ship with the server.

You can download the task-zips from my repository as well. I also offer a version of the taskzip that can be installed side-by-side the official Microsoft ones.

With the correct zip files from the links above you can install them to your TFS Project collection using:

. ./install-task.ps1 -CollectionUrl https://yourtfs.com/tfs/DefaultCollection -TaskZip Task.guid-version.zip