Are you using a PC and editing the file on Linux? You could be messing up your End of Lines. It shouldn’t matter with XML files. The end of lines don’t matter.
However, you can always reformat the files using xmllint and the -format option. > On Aug 19, 2016, at 1:34 PM, Jedimaster_att <aaron.truji...@total.care> wrote: > > I have successfully written a shell script that pulls down the job xml using > cURL so i can edit it. However, when i return it to Jenkins using cURL, my > shell script is in a single line and not in its original form that Linux > needs it to be in to be red. Can anyone point me in the right direction to > fix this? > Thank you. > > > > -- > View this message in context: > http://jenkins-ci.361315.n4.nabble.com/cURL-and-API-tp4835436.html > Sent from the Jenkins users mailing list archive at Nabble.com. > > -- > 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 jenkinsci-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/1471628066359-4835436.post%40n4.nabble.com. > For more options, visit https://groups.google.com/d/optout. -- 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 jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/26B1ACE8-FA04-4F74-BAC7-F075AC357F62%40gmail.com. For more options, visit https://groups.google.com/d/optout.