ok thanx Am Dienstag, 15. Mai 2018 08:15:19 UTC+2 schrieb Ewelina Wilkosz: > > will have a look and get back to you! > > On Friday, May 11, 2018 at 12:41:10 PM UTC+2, spikkie wrote: >> >> Hi "Configuration as Code" Team, >> >> I'm using the plugin "Build Failure Analyzer" >> https://github.com/jenkinsci/build-failure-analyzer-plugin >> Was trying to find out how I can configure the "Build Failure Analyzer" >> role names in the jenkins.yaml file? >> >> I'm using https://github.com/jenkinsci/configuration-as-code-plugin/ >> Version 0.5-alpha >> >> jenkins.yaml >> >> *jenkins:* >> * authorizationStrategy:* >> * roleStrategy:* >> * roles:* >> * global:* >> >> >> * - name: "projectAdmin" description: "Project >> Admin" permissions:* >> - "Failure/Update" >> or >> - "Build_Failure_Analyzer/View" >> or >> - "Build_Failure_Analyzer/ViewCauses" >> or >> - "BuildFailureAnalyzer/View" >> or >> - "BuildFailureAnalyzer/ViewCauses" >> >> but that did not succeed given errors like >> java.lang.IllegalStateException: Cannot resolve permission for ID: >> Build_Failure_Analyzer/ViewCauses >> at >> org.jenkinsci.plugins.casc.integrations.rolebasedauth.RoleDefinition.getRole(RoleDefinition.java:57) >> at >> org.jenkinsci.plugins.casc.integrations.rolebasedauth.RoleDefinition.<init>(RoleDefinition.java:46) >> Caused: java.lang.reflect.InvocationTargetException >> at sun.reflect.GeneratedConstructorAccessor73.newInstance(Unknown >> Source) >> at >> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) >> at java.lang.reflect.Constructor.newInstance(Constructor.java:423) >> at >> org.jenkinsci.plugins.casc.DataBoundConfigurator.configure(DataBoundConfigurator.java:100) >> >> >> Maybe you could point out where to find these "Role Names", then for >> other plugins I can find it out myself. >> >> thanx! >> >> kindest regards, >> Bas >> >> >> >> >> >>
-- You received this message because you are subscribed to the Google Groups "Jenkins Users" 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-users/6b630c4f-e073-4e57-a13a-78d8ced1aee7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
