Variables are your friend

You may also like...

3 Responses

  1. Dennis says:

    First of all like the article. it confirms I’m doing it right.
    I’d just like to let you know there is a bug in 2.6 which affects your variable example 3
    https://github.com/OctopusDeploy/Issues/issues/1675

    I handle connection strings in this way as I need to have the passwords as sensitive but it means I’ve got to watch out for characters such as ‘&’ as it will convert them to &

    Dennis

    • ianpaullin says:

      Thanks, Dennis for pointing that out. We had a team that had that same issue in regards to the ampersand issue within a sensitive variable. Good catch!

  1. July 10, 2015

    […] possible. I can imagine in rare cases where it’s necessary, but as I’ve mentioned in my Variables Deep Dive, being too explicit with your variable scope will forever force your hand to always be explicit […]

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.