locked
BTDF settings file variables in VSTS RRS feed

  • Question

  • Hi all,


    we are trying to do CICD for biztalk applications in VSTS (Not in TFS).

    we are using BTDF for biztalk.

    https://www.biztalkbill.com/2016/01/12/biztalk-continuous-deployment-with-visual-studio-team-services-vsts

    As showed in the above url, in the settings file we have added the Exported_RMSettings.xml and we are defining variables in #{}

    and the same variable we are providing the value in VSTS release definition by creating variables.

    the problem is variables are not being referred from VSTs, instead it is only coming as #{variablename}  when do deploy through vsts.

    so variables are not being replaced at all, coming as is from SettingsFileGenerator.xml.

    Any idea what could be wrong with it?


    Please mark the post as answer if this answers your question. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

    Monday, May 14, 2018 8:33 AM

All replies

  • Hi,

    Have you followed and apply prerequisites, if not please look and confirm below.

    1) Your BizTalk Solution needs to be using BTDF (https://biztalkdeployment.codeplex.com/)

    2) You need a Visual Studio Team Services Account (https://www.visualstudio.com/)

    3) You need the drop folder from a BizTalk Build (BizTalk Continuous Integration with Visual Studio Team Services (VSTS) or BizTalk Continuous Integration with Team Foundation Server (TFS) 2015 Update 1 )

    4) Power Shell Scripts using in VSTS Release Management (https://github.com/Mexia/BizTalkCICD)


    For more detailed understanding i would request to visit the following article
    (http://biztalkersblog.azurewebsites.net/biztalk-alm-with-visual-studio-online/)



    Hope this Helps!!!!!

    (Please Mark as Answered if you satisfy with Reply)
    Monday, May 14, 2018 12:49 PM
  • Hey Ravi,

    How are you mate?  I recently did CI/CD with VSTS and octopus.  For variable replacing you need to write custom power shell script, I don't think there is inbuilt template available in VSTS.

    Ravi Pothuraju

    Thursday, May 24, 2018 6:08 AM
  • Thanks Vikas and Ravi, apologies for the late reply

    we've used 'Replace tokens" utility available on the visual studio market place

    https://marketplace.visualstudio.com/items?itemName=qetza.replacetokens&referrer=https%3A%2F%2Fapp.vssps.visualstudio.com%2F_signedin%3Frealm


    Please mark the post as answer if this answers your question. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

    Tuesday, June 5, 2018 1:49 PM