Jenkins does not show variables output in ECHO request in the groovy-pipeline
问题 just for example. I have this part of code in groovy-pipeline: echo "${GIT_BRANCH}" if ("${GIT_BRANCH}" == 'origin/mysuperbranch') { echo 'Branch name is "${GIT_BRANCH}". We can continue' } else { echo 'Branch name is "${GIT_BRANCH}". We can not continue' isValid = false return true } And let's look on output: [Pipeline] echo origin/mysuperbranch [Pipeline] echo Branch name is "${GIT_BRANCH}". We can continue Why in first output i can see what is in the variable ${GIT_BRANCH} , but in the