How to configure the plugin authorize-project with configuration-as-code?

29 views
Skip to first unread message

Guo Zhenyang

unread,
Jan 21, 2019, 7:06:28 AM1/21/19
to Jenkins Users
Hello,
I'm trying to use configuration-as-code to initial the configuration of the Jenkins. Thought it says JCasC "Support most plugins without extra development effort" in https://jenkins.io/projects/jcasc/, I can't find a list of supported plugins or a demo of configuring plugin authorize-project. Can some share with me the information about it?
Thanks

Mykola Nikishov

unread,
Jan 24, 2019, 4:01:25 PM1/24/19
to jenkins...@googlegroups.com
Guo Zhenyang <guozh...@gmail.com>
writes:
Check your http://jenkins/configuration-as-code/ for Actions and
Reference.

For instance, install and configure jenkins and plugins, then use Export
Configuration to get YAML configuration with your changes.

Jenkins Configuration as Code Reference
http://jenkins/configuration-as-code/reference shows all available
options.

--
Mykola

https://manandbytes.gitlab.io/
https://manandbytes.github.io/

Phil Ruggera

unread,
Apr 23, 2020, 11:43:26 PM4/23/20
to Jenkins Users
Here"s what I use:

security:
  queueItemAuthenticator:
    authenticators:
    - global:
        strategy: "triggeringUsersAuthorizationStrategy"
Reply all
Reply to author
Forward
0 new messages