Tutorial :Creating Hudson jobs and views from command line



Question:

Can I create Hudson jobs from the command line?? If yes, can views be created the same way??


Solution:1

You can always create the xml file for the job. The location will be a new folder in the jobs directory. Than you only need to trigger a reload of the config. It should be similar for the views.


Solution:2

You can try the Hudson Remote API, which include an API to create Jobs.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »