[Issue 2005] New - Delete jobs through remote API

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Issue 2005] New - Delete jobs through remote API

sorcy
https://hudson.dev.java.net/issues/show_bug.cgi?id=2005
                 Issue #|2005
                 Summary|Delete jobs through remote API
               Component|hudson
                 Version|current
                Platform|All
              OS/Version|All
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|FEATURE
                Priority|P3
            Subcomponent|www
             Assigned to|issues@hudson
             Reported by|sorcy






------- Additional comments from [hidden email] Wed Jul  2 19:11:02 +0000 2008 -------
Could we have an extension to the remote API which allows you to delete jobs on
Hudson?

e.g. server/hudson/api/delete?jobName=name

I'm using Hudson as backend CB system, and such programmable remote features
would be immensely useful to ensure sync.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Issue 2005] Delete jobs through remote API

scm_issue_link
https://hudson.dev.java.net/issues/show_bug.cgi?id=2005



User scm_issue_link changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|NEW                       |RESOLVED
--------------------------------------------------------------------------------
              Resolution|                          |FIXED
--------------------------------------------------------------------------------




------- Additional comments from [hidden email] Fri Jul  4 00:31:24 +0000 2008 -------
Code changed in hudson
User: : kohsuke
Path:
 trunk/hudson/main/core/src/main/java/hudson/model/AbstractItem.java
 trunk/hudson/main/core/src/main/resources/hudson/model/AbstractItem/delete.jelly
 trunk/hudson/main/core/src/main/resources/hudson/model/Job/_api.jelly
 trunk/www/changelog.html
http://fisheye4.cenqua.com/changelog/hudson/?cs=10630
Log:
[FIXED HUDSON-2005] deletion is already supported as the remote API, but I changed it to require POST, to prevent accidental deletion.


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]