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!

    Detect legacy features question

    Scheduled Pinned Locked Moved Support
    buildmaster
    7 Posts 2 Posters 9 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.
    • J Offline
      jstarbird_7831
      last edited by

      I've been working to clean up legacy items and I am confused by one aspect.
      In the report it is saying i have legacy template variables but when I view the Variables page in the admin it is not indicating any legacy variables.

      So just wanting to clarify what is it this is complaining about?

      The main variables I have are release templates and pipeline and while the variable names listed are some I have the log listing the legacy variables is not clear where they are.

      Product: BuildMaster
      Version: 6.0.10

      1 Reply Last reply Reply Quote 0
      • atrippA Offline
        atripp inedo-engineer
        last edited by

        These Legacy Template Variables (Release, Build, Execution, Promotion) are defined at the application-level, not at the system-level.

        If you View Full Log, you should be able to find a block that looks something like this:

        WARN : 2018-02-21 22:37:21Z - Legacy template variable declarations found:
        WARN : 2018-02-21 22:37:21Z - ID: 107;	Name: BUILD-SOURCE;	Scope: Release
        WARN : 2018-02-21 22:37:21Z - ID: 92;	Name: BUILD-SOURCE;	Scope: Release
        WARN : 2018-02-21 22:37:21Z - ID: 108;	Name: BUILD-SOURCE;	Scope: Release
        WARN : 2018-02-21 22:37:21Z - ID: 109;	Name: BUILD-SOURCE;	Scope: Release
        WARN : 2018-02-21 22:37:21Z - ID: 111;	Name: BUILD-SOURCE;	Scope: Release
        WARN : 2018-02-21 22:37:21Z - ID: 112;	Name: BUILD-SOURCE;	Scope: Release
        WARN : 2018-02-21 22:37:21Z - ID: 113;	Name: BUILD-SOURCE;	Scope: Release
        

        If that's not enough information to locate, you can look directly in the SQL Server Database to find out.

        1 Reply Last reply Reply Quote 0
        • J Offline
          jstarbird_7831
          last edited by

          Alana,
          are those in the Application | Settings? If so then I do know where they are now.
          I've used those in almost every application.

          1 Reply Last reply Reply Quote 0
          • atrippA Offline
            atripp inedo-engineer
            last edited by

            Yes. But hmm ... maybe it's a disabled application? You should be able to find those in the VariableDeclarations table; those IDs refer to those.

            1 Reply Last reply Reply Quote 0
            • J Offline
              jstarbird_7831
              last edited by

              Are the Id's listed supposed to match the Variable Id? I'm referring the number values not the string values.
              When I view the Global Variables area should they be in a Legacy Variables list? I do see variables there but do not see any Legacy list.

              1 Reply Last reply Reply Quote 0
              • atrippA Offline
                atripp inedo-engineer
                last edited by

                Without seeing your log, I really don't know. But in this case...

                WARN : 2018-02-21 22:37:21Z - ID: 107;	Name: BUILD-SOURCE;	Scope: Release
                

                We have a legacy release template variable called "BULID-SOURCE". This will only show up in an application's settings page, it will not show up under global.

                So how can we find the application? well, if I run this query, SELECT Scoped_Application_Id FROM VariableDeclarations WHERE VariableDeclaration_Id=107 I can find the application id. From there, I can enter it in the navigation bar, and find the variables.

                1 Reply Last reply Reply Quote 0
                • J Offline
                  jstarbird_7831
                  last edited by

                  Alana,
                  thanks. I didn't realize those variables did not appear in that list, thought that was all variables.
                  In any event, knowing they are app settings variables helps.

                  Thanks!

                  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