Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>If that question is connected to your other Hudson questions use the command they provide. </p> <pre><code>$ curl -X POST -d '&lt;run&gt;&lt;log encoding="hexBinary"&gt;4142430A&lt;/log&gt;&lt;result&gt;0&lt;/result&gt;&lt;duration&gt;2000&lt;/duration&gt;&lt;/run&gt;' \ http://user:pass@myhost/hudson/job/_jobName_/postBuildResult </code></pre> <p>You need to change it a little bit to read from a file:</p> <pre><code> $ curl -X POST -d @myfilename http://user:pass@myhost/hudson/job/_jobName_/postBuildResult </code></pre> <p>Read the <a href="http://curl.haxx.se/docs/manpage.html" rel="noreferrer">manpage</a>. following an abstract for -d Parameter.</p> <blockquote> <p>-d/--data </p> <p>(HTTP) Sends the specified data in a POST request to the HTTP server, in the same way that a browser does when a user has filled in an HTML form and presses the submit button. This will cause curl to pass the data to the server using the content-type application/x-www-form-urlencoded. Compare to -F/--form.</p> <p>-d/--data is the same as --data-ascii. To post data purely binary, you should instead use the --data-binary option. To URL-encode the value of a form field you may use --data-urlencode.</p> <p>If any of these options is used more than once on the same command line, the data pieces specified will be merged together with a separating &amp;-symbol. Thus, using '-d name=daniel -d skill=lousy' would generate a post chunk that looks like 'name=daniel&amp;skill=lousy'.</p> <p>If you start the data with the letter @, the rest should be a file name to read the data from, or - if you want curl to read the data from stdin. The contents of the file must already be URL-encoded. Multiple files can also be specified. Posting data from a file named 'foobar' would thus be done with --data @foobar.</p> </blockquote>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload