Not sure what is the issue( The following command works(if I create a 
config file only with /job/test/config.xml) It fails if I create config 
file with /job/test100/config.xml:

[drakula ~]$ curl "
http://<user-name>:<passwd>@<jenkins-host-name>:8080/job/test/config.xml" > 
config.xml                                                      % Total    
% Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  
Speed
100   613  100   613    0     0   5398      0 --:--:-- --:--:-- --:--:--  
5424
[drakula ~]$ curl -s -XPOST '<host-name>:8080/createItem?name=test100' 
--data-binary @config.xml -H "Content-Type:text/xml" --user 
<user>:b7079d2a6c5d2e2befe5e30140abe9834
[drakula ~]$

On Wednesday, October 11, 2017 at 5:50:03 AM UTC+8, Daniel Beck wrote:

>
> > On 10. Oct 2017, at 23:44, Bubunia Patra <[email protected] 
> <javascript:>> wrote: 
> > 
> > javax.xml.transform.TransformerException: org.xml.sax.SAXParseException; 
> lineNumber: 10; columnNumber: 3; The element type "hr" must be terminated 
> by the matching end-tag "&lt;/hr>". 
>
> This is the error message. Your XML file is malformed. 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/a84523ee-aee0-41e2-8797-d4648b661fcf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to