title: Jenkins Build With Parameters Only Taking First Parameter
body: <p>I set up a Jenkins build that uses the "Publish over SSH" plugin to remotely execute an ansible script, injecting the variables into the call to <code>ansible-playbook</code></p>
  
  <p>The command that Jenkins will remotely execute:</p>
  
  <pre><code>ansible-playbook /home/username/test/test.yml --extra-vars "ui_version=$UI_VERSION web_version=$WEB_VERSION git_release=$GIT_RELEASE release_environment=$RELEASE_ENVIRONMENT"
  </code></pre>
  
  <p>Which is triggered by the following curl:</p>
  
  <pre><code>curl -k --user username:secretPassword -v -X POST https://jenkins/job/Ansible_Test/buildWithParameters?UI_VERSION=abc&amp;WEB_VERSION=def&amp;GIT_RELEASE=ghi&amp;RELEASE_ENVIRONMENT=jkl
  </code></pre>
  
  <p>Which should be utilizing the following variables:</p>
  
  <p><a href="https://i.stack.imgur.com/651ky.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/651ky.png" alt="jenkins_vars"></a></p>
  
  <p><strong>My Problem:</strong> only the first parameter gets injected, as you can see on the longest line of the console output on Jenkins below:</p>
  
  <pre><code>...
  SSH: EXEC: completed after 201 ms
  SSH: Opening exec channel ...
  SSH: EXEC: channel open
  SSH: EXEC: STDOUT/STDERR from command [ansible-playbook /home/dholt2/test/test.yml --extra-vars "ui_version=abc web_version= git_release= release_environment="] ...
  SSH: EXEC: connected
  ...
  </code></pre>