- I would like to programatically alter the AMI ID associated with our EC2 Cloud configuration in Jenkins.
- The API docs say; “JenkinsAPI lets you query the state of a running Jenkins server. It also allows you to change configuration and automate minor tasks on nodes and jobs.” I am not sure if “allows you to change configuration” only applies to a job or if this statement applies to the master configuration.
In this case (*Cloud* configuration), there is no remote API. You could automate the load and save of the HTML configuration using something like HtmlUnit.