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!

Variables in Descriptions



  • Is it possible to evaluate a variable in a statement block's description? I believe the answer is no but I wanted to make sure. I'm looking to organize my execution logs a bit better but without access to the variables I have to use generic descriptions such as

    foreach $database in @DatabasesToUpdate
    {
        #Update Database
        {
            <Step 1>
            <Step 2>
            <Step 3>
            ...
            ...
        }
    }
    

    which results in multiple, identical "Update Database" blocks in the execution log. I have to then dig deeper into each block to determine which database was updated. Ideally I could do something like the following.

    foreach $database in @DatabasesToUpdate
    {
        #Update Database - $database
        {
            <Step 1>
            <Step 2>
            <Step 3>
            ...
            ...
        }
    }
    

    which would evaluate to "Update Database - AdventureWorks" in the execution log.

    Product: BuildMaster
    Version: 5.8.3


  • inedo-engineer

    Hello Josh,

    I agree that this would be very useful to have.

    I've filed IEE-8, which will allow the use of variables in block descriptions if the script contains ##AH:EvaluateStatementDescriptions at the top.



Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation