Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-62004

Parameterized Remote Trigger expects case-sensitive http headers

XMLWordPrintable

      For remote jekins that provides all lower-case HTTP headers, the parameterized remote trigger will fail with error such as

      ERROR: Remote build failed with 'AbortException' for the following reason: 'Error triggering the remote job. The header of the response has an unexpected format:

      {date=[Tue, 21 Apr 2020 02:26:47 GMT], null=[HTTP/1.1 201 Created], server=[envoy], content-length=[0], x-envoy-upstream-service-time=[15], x-content-type-options=[nosniff], location=[http://example.com/jenkins/myjenkins/queue/item/4848912/]}'.

      It seems the plugin is looking for "Location" but only "location" is provided.

      https://github.com/jenkinsci/parameterized-remote-trigger-plugin/pull/68 has some test cases demonstrating the issue and a possible solution.

            cashlalala KaiHsiang Chang
            heschulz Eric Schulz
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: