think my understanding on how to use a pipeline variable is not correct.
I defined a variable in the pipeline and set it to false/true. However, when the pipeline is set,