title: Escape double quotes in a Jenkins pipeline file's shell command
body: <p>Below is a snippet from my Jenkins file -</p>
  
  <pre><code>stage('Configure replication agents') {
              environment {
                  AUTHOR_NAME="XX.XX.XX.XX" 
                  PUBLISHER_NAME="XX.XX.XX.XX"
                  REPL_USER="USER"
                  REPL_PASSWORD="PASSWORD"
                  AUTHOR_PORT="4502"
                  PUBLISHER_PORT="4503"
                  AUTHOR="http://${AUTHOR_NAME}:${AUTHOR_PORT}"
                  PUBLISHER="http://${PUBLISHER_NAME}:${PUBLISHER_PORT}"
                  S_URI= "${PUBLISHER}/bin/receive?sling:authRequestLogin=1"
              }
              steps {
                  sh 'curl -u XX:XX --data "status=browser&amp;cmd=createPage&amp;label=${PUBLISHER_NAME}&amp;title=${PUBLISHER_NAME}&amp;parentPath =/etc/replication/agents.author&amp;template=/libs/cq/replication/templates/agent" ${AUTHOR}/bin/wcmcommand'
              }
  </code></pre>
  
  <p>The above command, in Jenkins console, is printed as </p>
  
  <pre><code>curl -u XX:XX --data status=browser&amp;cmd=createPage&amp;label=XXXX&amp;title=XXX&amp;parentPath =/etc/replication/agents.author&amp;template=/libs/cq/replication/templates/agent http://5XXXX:4502/bin/wcmcommand
  </code></pre>
  
  <p>Note how the double quotes <code>""</code> are missing.</p>
  
  <p>I need to preserve the double quotes after <code>--data</code> in this command. How do I do it?
  I tried using forward slashes but that didnt work.</p>
  
  <p>Cheers </p>