TFS artifacts for Release ManagementWith this extension, you can deploy artifacts from external TFS or VS Team Services. The artifacts could be any of the following from VS Team Services or TFS:
These Build/Code artifacts could be from different TFS or VS Team Services accounts or from different collections from the same account. Note: This extension work only with VS Team Services and TFS "17" U2 onwards. UsageThis extension provides a service endpoint to connect to an external TFS or VS Team Services Collection. Once connected, you can link an artifact from this TFS / VS Team Services. Connecting to an External TFS/VS-Team-Services account & collectionWhen using Basic Authentication scheme, enable Basic Auth on TFS
Note: You would need to provide the URL to an external account with 'Collection' name in the URL. E.g. https://fabfiber.visualstudio.com/DefaultCollection Linking an external artifact (Build in this example)Once you have set up the service endpoint connection, you would be able to link an external TFS/VS-Team-Services build artifact in your release definition
Known Issues1. Code artifacts (External TFS version control and External TFS GIT) does not work with PAT based External on-prem TFS service endpoints. Release linked to External TFS Version Control will fail with below error message at download artifact step: TF30063: You are not authorized to access http://{ExternalTfsServerName}:{port}/tfs/DefaultCollection. Release linked to External TFS GIT will fail with below error message at download artifact step: Authentication failed for 'http://.:********@{ExternalTfsServerName}:{port}/tfs/DefaultCollection/_git/{GitProjectName}/ Note: Code artifacts (External TFS version control and TFS GIT) works fine with PAT based VSTS service endpoints. 2. "External TFS version control" code artifact download fails when agent is running as Network Service. Release linked to External TFS Version Control will fail with below error message at download artifact step: TF30063: You are not authorized to access http://fabfiber.visualstudio.com/DefaultCollection Workaround - Run agent as admin user(either interactively or as service) when working with "External TFS version control" code artifact. FAQs1. Can I use an external TFS build artifact that is not accessible from my VS Team Services account? Yes you can. However, the agent that deploys the external TFS Build artifact needs to have access to the linked artifact (External TFS build artifact). 2 Can I use a build from another collection of my current TFS? Yes. To do this, you would need to add a service endpoint connection to required collection. Once done, you could link an artifact from this collection as an external TFS/VS-Team-Services artifact. 3. Can I link Xaml Build from my external TFS account? Yes. 4. Can I link to a Build from TFS 2012? No. This extension supports TFS 2013 and above versions. 5. I am getting the error "Missing contribution (ms.vss-releaseartifact.artifact-types)" with TFS 2015 update 3 on-prem? The extension isn't supported for TFS 2015 update 3, It is only supported TFS "15" RC onwards. 6. I am not able to see the ExternalTfs types in link artifacts UI with TFS 2015 update 2? The extension isn't supported for TFS 2015 update 2, It is only supported TFS "15" RC onwards. 7. Where can I learn more about artifacts in Release Management? You can refer to Release Management documentation for more details. Also you can use RM Extensions on Github to report any issues. |