I'm dynamically creating a view via Groovy with..
Jenkins.instance.getItem('my_folder').addView(new ListView('MyNewView')
This works great; and I then add a filter to this view via..
Jenkins.instance.getItem('my_folder').getView('MyNewView').setIncludeRegex('.*NewView.*'
Which also works wonderfully. How would I then programmatically set the views description? I assume there's some combination I can do with
doSubmitDescription(...?)
But I haven't been able to sus it out.. Any help would be appreciated.
My current plan is to work around this by posting to getView('MyNewView').getURL()+"/submitDescription...";
but it should be much cleaner than that..