the way you load the XML is by pipeing it into the command. e.g.: cat test.xml | java -jar jenkins-cli.jar -s http://localhost:9080/jenkins/ update-credentials-by-xml "SystemCredentialsProvider::SystemContextResolver::jenkins" "(global)" MYTEST
it would be nice if the documentation would give hints to that. (or I didnt find them) -- 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/589064dc-5a30-4031-ad24-ceb5df42e69a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.