Sorry, there is no CLI command currently to list the groups in a given container. You could use get-job path/to/folder
to retrieve its raw config.xml
, which would include information about defined groups.
Cloudbees RBAC plugin to list the groups for reporting
-
09-10-2022 - |
Pregunta
Can we use RBAC plugin in Jenkins CLI to list the groups and the members below it? I am able to find the users for each group using the syntax
java -jar jenkins-cli.jar -s http://localhost:8080/ -i c:\.ssh\id_rsa group-membership path/to/folder GroupName
however, I would like to list all the groups for a particular folder and also list the members in the respective groups. I know later is achievable if we can list the available group names.
Solución
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow