title: Binding variable not available Jenkins SQS
body: <p>I have a jenkins job that uses a pipeline script. The script is shared between the dev and production jenkins. So i need to make decision based on the parameter that is configured in jenkins job ( Through this project is parametrized option) </p>
  
  <p>The master jenkins job shall be triggered manually or by sending SQS message. 
  When the Jenkins is triggered through SQS, I am not getting the stage that is configured in jenkins job in the pipeline</p>
  
  <p>Below the code snippet. I am getting Binding error in the withEnv step. </p>
  
  <pre><code>stage('Code Merge') {
      withEnv([ 
                  "STAGE=${STAGE}"
          ]) {
              echo "Printing Stage :: ${STAGE}"
  </code></pre>
  
  <p>Please can someone help me a way to resolve this ? </p>