Hi

My Jenkinsfile contains:

    environment {
       SCRIPTS_PATH="${WORKSPACE}/Tools/Jenkins/PythonScripts"
    }

When the script runs I get exception:

groovy.lang.MissingPropertyException: No such property: WORKSPACE for class: 
groovy.lang.Binding
        at groovy.lang.Binding.getVariable(Binding.java:63)

How should I correct the syntax?

Best regards

David

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/ca74102bcbcd43a0a51b56fd3ef9e8f2%40EUX13SRV1.EU.NEC.COM.
For more options, visit https://groups.google.com/d/optout.

Reply via email to