jenkins-job-builder/tests/builders/fixtures/http-request-complete.xml
Kien Ha 1f2d788375 Add support for http request plugin
Change-Id: I91fd73a85f33024f392781d8c082b19227f78f7f
Signed-off-by: Kien Ha <kienha9922@gmail.com>
2016-05-13 12:23:08 -04:00

29 lines
959 B
XML

<?xml version="1.0" encoding="utf-8"?>
<project>
<builders>
<jenkins.plugins.http__request.HttpRequest plugin="http_request">
<url>http://example.com/jenkinsTest</url>
<httpMode>POST</httpMode>
<contentType>TEXT_HTML</contentType>
<acceptType>TEXT_HTML</acceptType>
<outputFile>response_file.txt</outputFile>
<consoleLogResponseBody>true</consoleLogResponseBody>
<passBuildParameters>true</passBuildParameters>
<timeout>10</timeout>
<validResponseCodes>100:399</validResponseCodes>
<validResponseContent>foo</validResponseContent>
<authentication>authenticationkey</authentication>
<customHeaders>
<pair>
<name>header</name>
<value>value</value>
</pair>
<pair>
<name>header2</name>
<value>value2</value>
</pair>
</customHeaders>
</jenkins.plugins.http__request.HttpRequest>
</builders>
</project>