With Jenkins
, if I delete a view, I want to delete the view's jobs also.
Is there a way to do it properly ?
Before deleting your view: in "Manage Jenkins"->"Script Console", run this script:
Jenkins.instance.getView("MyView").items.each { item ->
println "deleting $item.name"
item.delete()
}
After that, the view will be empty -- delete it then.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With