title: cURL command to Jenkins API in gitlab-ci file is dropping parameters
body: <p>I'm trying to do a cURL command in my gitlab-ci file on a Jenkins' API endpoint to start a job, but no matter what I try the second parameter always gets dropped.  Here is my gitlab-ci file:</p>
  
  <pre><code>selenium_test:
    stage: run_test
    tags:
      - autotest1
    only:
      - trigger
    script:
      - jenkins_response=$(curl -s -I -X POST http://user:token@localhost:8080/job/qTest/buildWithParameters?environment=CI%20Dev&amp;test_id=96)
  </code></pre>
  
  <p>With the code above, the <code>test_id=96</code> gets dropped.  If I reverse the order of the parameters like so <code>test_id=96&amp;environment=CI%20Dev</code> then the <code>environment=CI%20Dev</code> gets dropped.</p>
  
  <p>I've also tried encoding the entire string like so <code>environment%3DCI%20Dev%26test_id%3D96</code> but that didn't work either.</p>
  
  <p>The two Jenkins' parameters, test_id and environment, are configured in Jenkins as strings. </p>
  
  <p>Any ideas on what I'm doing wrong?</p>