Hi,

There is a typo as far as I see in that package name:

hudson.plugins.nested_view rather than hudson.plugins.nested__view


As you can see in the source code:


- 
https://github.com/jenkinsci/nested-view-plugin/blob/master/src/main/java/hudson/plugins/nested_view/NestedView.java#L25



Cheers


On Friday, 23 September 2016 15:33:53 UTC+1, user-dev wrote:
>
> I am trying to add a nested view using groovy script but is failing 
> Jenkins.instance.instance.addView(new 
> hudson.plugins.nested__view.NestedView("Sample View"))
>
> org.codehaus.groovy.control.MultipleCompilationErrorsException: startup 
> failed:
> Script1.groovy: 3: unable to resolve class 
> hudson.plugins.nested__view.NestedView 
>  @ line 3, column 35.
>    Jenkins.instance.instance.addView(new 
> hudson.plugins.nested__view.NestedView("ViewX"
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/9b1b5b7b-42a9-4704-a187-e17b4f8032dc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to