I would like to automate the process of creating/removing views and jobs on a
running instance of jenkins from code. I imagined creating a java
application that uses the jenkins api to do various jenkins
(re)configuration tasks, eg. create jobs, specify scm, build types (maven,
free style, ... ) etc. Much like this:

http://evgeny-goldin.com/wiki/Jenkins-maven-plugin
http://www.kellyrob99.com/blog/2011/03/27/hooking-into-the-jenkinshudson-api/

but instead it should use the Jenkins api to avoid the raw modification of
the the xml files.

I am looking at this:
http://kohsuke.org/2012/01/27/writing-programs-that-drive-jenkins/
https://github.com/jenkinsci/cli-channel-demo

which looks promising. But are there more examples showing how to eg. create
views? Or is the support still limited for using the jenkins api from java:

http://jenkins.361315.n4.nabble.com/API-for-Jenkins-configuration-td3420368.html



--
View this message in context: 
http://jenkins.361315.n4.nabble.com/Creating-removing-views-jobs-from-code-using-the-Jenkins-API-tp4651293.html
Sent from the Jenkins users mailing list archive at Nabble.com.

Reply via email to