Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    Configuration Files not parsing variables after upgrade to v5

    Scheduled Pinned Locked Moved Support
    configuration-filesbuildmaster
    4 Posts 1 Posters 7 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? This user is from outside of this forum
      Guest
      last edited by

      We recently upgraded from Buildmaster v4.9 to v5.6. For the most part, the migration went off without any issue. However, I'm having problems with configuration files.

      Previously, in the configuration file template, we could use built-in functions and variables and they would be interpolated on the deployment of configuration files.

      For example, something like:

      ApplicationDisplayName = $ApplicationName
      

      When deployed, it would parse the variable and output something like:

      ApplicationDisplayName = Example Application
      

      As of v5.6, however, it doesn't get parsed at all, just outputing the raw text ($ApplicationName). Attempting to call any function results in a null output.

      How can I get the configuration files to parse built-in variables again? We need to be able to put information from build runtime into configuration files.

      Product: BuildMaster
      Version: 5.6.11

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        Are you sure that you're on v5.6.11? There was a regression where that may have happened in v5.6.10

        Also, make sure your settings (Application > Settings) are not to "old variables" only.

        1 Reply Last reply Reply Quote 0
        • ? This user is from outside of this forum
          Guest
          last edited by

          Indeed. Version 5.6.11 (Build 2)

          1 Reply Last reply Reply Quote 0
          • ? This user is from outside of this forum
            Guest
            last edited by

            OK ; in this case, can you provide a simple reproduction case that we can try? Like, a new application that reproduces this? And please send this as a ticket -- Q&A are generally the lowest priority when it comes to support, so we want to handle it through better channels :)

            The $ApplicatinName and $ReleaseNumber are standard test cases for us, so they do work in our config file replacement tests (which, are quite complex due to so many legacy cosniderations...)

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • 1 / 1
            • First post
              Last post
            Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation