Issue Type: Bug Bug
Assignee: Unassigned
Attachments: new_without_parameters.xml, old_with_parameters.xml
Components: parameters
Created: 03/Jun/14 12:56 PM
Description:

If I have a job that is parameterized, and I try to remove parameters from its config.xml via HTTP post to JOB_URL/config.xml, nothing happens.

The correct config.xml is uploaded (this can be seen in the JOB_URL/config.xml page), but there seems to be no effect on the interface.

Manually reloading configuration from disk in Jenkins Management after uploading the new XML will put the correct options there.

I've only tested this using python_jenkins, but it really only does an HTTP post:

def reconfig_job(self, name, config_xml):
    self.get_job_info(name)
    headers = {'Content-Type': 'text/xml'}
    reconfig_url = self.server + CONFIG_JOB % locals()
    self.jenkins_open(urllib2.Request(reconfig_url, config_xml, headers))

XML files attached.

Reproduced in 1.528 and 1.565.

Project: Jenkins
Priority: Major Major
Reporter: Diogo Campos
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to