Using global variables in Jenkins Pipeline

I have tried all sort of ways but nothing seems to be working. Here is my jenkinsfile. def ZIP_NODE def CODE_VERSION pipeline{ /*A declarative pipeline*/ agent { /*Agent section*/...