I installed the Folder Properties plug in, and define these

GIT_BRANC = feature/dev-1234-some-work
RUN_TESTS = true
DEPLOY_TO_SANDBOX = true

I then have this in my Jenkinsfile

def echoStr = """

****************************************************************************

Git branch: ${env.GIT_BRANCH}, Run tests: ${env.RUN_TESTS}, Deploy to 
sandbox: ${env.DEPLOY_TO_SANDBOX}

****************************************************************************

"""

println echoStr

and I get this in the console

****************************************************************************
Git branch: null, Run tests: null, Deploy to sandbox: null
****************************************************************************


Why is that?

Chris

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/871285c3-3053-419b-ba4b-4930b7c77d6c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to