Issue Type: Bug Bug
Assignee: Unassigned
Components: cli
Created: 10/Jul/14 9:49 PM
Description:

When attempting to create a job with jenkins-cli using a malformed XML file the exception is "java.io.IOException: Unable to read" which always places the uploaded file name at the jenkins_home location even when it originated elsewhere.

Example:

java -jar jenkins-cli.jar -s http://127.0.0.1:8080/ create-job Test33 < /tmp/Test34_config.xml

java.io.IOException: Unable to read /var/lib/jenkins/jobs/Test33/config.xml

Also, this is misleading as the file was read, it was just not properly formated and thus should have an error of "Malformed XML document /tmp/Test34_xonfig.xml" or something similar.

Exception output
https://gist.github.com/anonymous/a38eeab53a9bf35695dc

Environment: Jenkins 1.571, Amazon AMI 2014.03, java version "1.7.0_55"
Project: Jenkins
Priority: Trivial Trivial
Reporter: Ken Garland
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to