[Issue 2005] New - Delete jobs through remote API

View: New views
2 Messages — Rating Filter:   Alert me  

[Issue 2005] New - Delete jobs through remote API

by sorcy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 sorcy@... 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: issues-unsubscribe@...
For additional commands, e-mail: issues-help@...


[Issue 2005] Delete jobs through remote API

by scm_issue_link :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 scm_issue_link@... 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: issues-unsubscribe@...
For additional commands, e-mail: issues-help@...

LightInTheBox - Buy quality products at wholesale price