besically my groovy file jenkins-build-paramters.groovy is as below
Cotaining_WAR_Deployment='true'
Cotaining_JAR_Deployment='false'
Below is my environment variable
environment {
Cotaining_WAR_Deployment= "true"
Cotaining_JAR_Deployment= "false"
}
My question how can i load the build paramters based on respective value. For instance, in environment Cotaining_WAR_Deployment should take from the groovy file value