Re: How do I use the Jenkins CLI commands for Credentials Plugin?

2016-09-02 Thread Andreas P
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 h

Re: How do I use the Jenkins CLI commands for Credentials Plugin?

2016-08-15 Thread Brandon R
I've been looking into this as well and made a little progress by digging around https://github.com/jenkinsci/credentials-plugin For store, I used "system::system::jenkins" like in their tests. For domain I tried variations on the word "global" but none worked. I then tried underscore '_' as