First of all, we are talking about TFS 2015 build tasks, TFX tool and powershell tasks.
What do you need?
- TFX installed
- json file
- ps1 file
- full TFS access
How to authenticate with TFX:
I’m using basic authentication,
tfx login –auth-type basic
It will ask for:
Once authenticated, go to the folder where your files are and execute this command to push all to the server:
tfx build tasks upload –task-path .\
The json file
Use another task as base for your new task, you must set a new GUID for your new task, it will identify your task. You must increase the version before each upload. And you can define the GUI in this file.