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/72287b34-a9f9-4274-b047-87aaaed1f96a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to