title: Jenkins shell string quotation replacement
body: <p>I have a Jenkins job with an execute shell box. In the execute shell I use bash instead of dash (sh). In the execute shell I have strings which are supposed to be interpreted as they contain escape sequences (in this case the new line: <code>\n</code>), so here is an example execute shell:</p>
  
  <pre><code>#!/bin/bash
  set -x #echo on
  git fetch
  ...
  
  git commit -m "Merging $DEVELOPEMENTBRANCH into $INITIALBRANCH\n\nThis is an example second paragraph."
  ...
  </code></pre>
  
  <p>My problem here is that the script block is interpreted/replaced by Jenkins in a way that it changes its behavior, to be specific it replaces the variables and replaces the double quotes with single quotes so in the console output it looks like this:</p>
  
  <pre><code>[4] $ /bin/bash /tmp/hudson7542128982632971668.sh
  + git fetch
  ...
  
  + git commit -m 'Merging my_feature into develop\n\nThis is an example second paragraph'
  ...
  </code></pre>
  
  <p>But in this way the <code>\n</code> part won't be interpreted because of the single quotes. What is the trick here? I want to preserve the double quotes or at least interpret the <code>\n</code> sequences.</p>