Using Clone, Export and Import an existing release definition for TFS2015 Update2
Summary:- A ReleaseManagement extension for Cloning, Importing and Exporting an existing release definition is released in the VisualStudio marketplace at https://marketplace.visualstudio.com/items?itemName=ms-devlabs.rm-clone-rd . But as it uses some improvement done post release of TFS2015U2 hence it doesn't allow to be installed for TFS2015U2. I have tried to write another extension with slight variation of experience (explained below).
How it's different from one released to VisualStudio marketplace :- Extension published at VisualStudio marketplace open the release definition to be saved after clicking the clone (from context menu) or import (from toolbar). Where as extension for TFS2015U2 makes direct REST call and creates a clone or import of an existing release definition. Following are TFS2015U2 behaviour difference:-
- Environment owner will be same as original release definition
- In case of Import, Approver needs to be updated
Code is shared : https://github.com/openalm/vsts-rm-extensions/tree/master/rd-export-import-clone-TFS2015U2
How to Install it for TFS2015U2 :-
Step1:- Download above mentioned repo which contains already build ms-devlabs.rm-import-export-0.0.1.vsix
Step2: open https://<tfsserverurl>/tfs/_gallery/manage
Step3:- Click on 'Upload new extension'
Step4: Give path to ms-devlabs.rm-import-export-0.0.1.vsix (as downloaded in step#1 above)
Step5: Click on the 'Install' button for the referred extension
Step6:- You should be able to see the Clone, Export in the release definition context menu and Import the new definition toolbar.
Step7: Done
Comments
Anonymous
May 15, 2016
Hi, I've installed this to an on-prem TFS 2015 Update 2.1 but the new menu options do not appear - is there something in 2.1 that would prevent the extension form working?Anonymous
May 16, 2016
It should work for TFS2.1 as well. Can you do F12 and see any error there? Sometime it takes few seconds to show the menu options. Are you not able to see either of the three icons?Anonymous
May 16, 2016
I have a similar issue on IE 11 and found running firefox v38.0.5 works. IE F12 tools Error(s): No handler found on any channel for message: No handler found on any channel for message: {"id":4,"methodName":null,"instanceId":"exportDefinitionContextMenu"," ... ... No handler found on any channel for message: {"id":5,"methodName":null,"instanceId":"cloneDefinitionContextMenu ... ... No handler found on any channel for message: {"id":6,"methodName":null,"instanceId":"exportDefinitionContextMenu... ... No handler found on any channel for message: {"id":7,"methodName":null,"instanceId":"cloneDefinitionContextMenu","...- Anonymous
June 22, 2016
Hi Dan,I have the issue and it should work for IE11 as well now. Can you please try updating the extension with 'ms-devlabs.rm-import-export-0.0.2.vsix' from the https://github.com/openalm/vsts-rm-extensions/tree/master/rd-export-import-clone-TFS2015U2.ThanksAnjani Chandan
- Anonymous
Anonymous
May 16, 2016
The comment has been removed- Anonymous
June 22, 2016
Hi Baz,I have the issue and it should work for IE11 as well now. Can you please try updating the extension with 'ms-devlabs.rm-import-export-0.0.2.vsix' from the https://github.com/openalm/vsts-rm-extensions/tree/master/rd-export-import-clone-TFS2015U2.ThanksAnjani Chandan
- Anonymous
Anonymous
May 16, 2016
@Baz - Good to know as you are unblocked after using Chrome. I shall try on IE11 and let you know, if some fix is required.