mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-18 06:22:29 +00:00
Using l:confirmationLink instead of AbstractItem/delete.jelly and AbstractProject/wipeOutWorkspace.jelly.
This commit is contained in:
1 parent
3f164c9570
commit
7d31e7c5d6
33 files changed
+61
-389
No files matched your search
@@ -477,6 +477,9 @@ public abstract class AbstractItem extends Actionable implements Item, HttpDelet
|
||||
|
||||
/**
|
||||
* Deletes this item.
|
||||
* Note on the funny name: for reasons of historical compatibility, this URL is {@code /doDelete}
|
||||
* since it predates {@code <l:confirmationLink>}. {@code /delete} goes to a Jelly page
|
||||
* which should now be unused by core but is left in case plugins are still using it.
|
||||
*/
|
||||
@CLIMethod(name="delete-job")
|
||||
@RequirePOST
|
||||
|
||||
Reference in new issue
Block a user