jessehouwing / vsts-extension-tasks

Visual Studio Team Services Build tasks to Package, Publish and Share Extensions
MIT License
11 stars 7 forks source link

Create tips & tricks article #23

Closed jessehouwing closed 6 years ago

jessehouwing commented 8 years ago

Include:

jessehouwing commented 8 years ago

This is my replace token configuration: image

jdshkolnik commented 8 years ago

@jessehouwing Could you please add a bullet for using with TFS 2015 on-prem? Like how to publish/install to 2015.

jessehouwing commented 8 years ago

As this functionality is being merged into the tasks created by Microsoft DevLabs with the help of other MVPs and ALM Rangers and myself I won't do any majorly investments into this extension or its documentation. But it's a fair ask for its replacement.

For now publish to TFS servers works as long as the TFS server supports basic authentication, which is considered a very bad idea. So let the publishing url to be the TFS server root (e.g. Https://tfs:443/tfs) that should work. The user configured to do the publish must be server administrator. The rest of the process is the same as for VSTS.

Install currently doesn't work, as it's awaiting a pull request merge to the tfx repository.

jdshkolnik commented 8 years ago

Thanks. I've been trying to create a build definition that'll update the extension in TFS once created but am stuck partly because of the install not working.

I understand install and update, and I know what it means to publish to marketplace, but what would publish do against TFS on-premises?

jessehouwing commented 8 years ago

On premise publish will make the new version available at the server level for installation.

Any project collection which already has the extension installed will be upgraded automatically.

jdshkolnik commented 8 years ago

I appreciate the help. I'll keep an eye out for the TFX-CLI update with support for install to TFS.

jessehouwing commented 8 years ago

https://github.com/Microsoft/tfs-cli/pull/132