several demos fixed (#287)
This commit is contained in:
parent
4a8df85deb
commit
91f71d8830
|
|
@ -1,11 +1,12 @@
|
|||
# artifactory plugin
|
||||
|
||||
Artifactory plugin configuration belongs under `jenkins` root element
|
||||
Artifactory plugin configuration belongs under `unclassified` root element
|
||||
|
||||
## sample configuration
|
||||
|
||||
```yaml
|
||||
jenkins: [...]
|
||||
jenkins:
|
||||
[...]
|
||||
unclassified:
|
||||
[...]
|
||||
artifactorybuilder:
|
||||
|
|
|
|||
|
|
@ -5,7 +5,8 @@ Basic configuration of the [GitHub plugin](https://wiki.jenkins.io/display/JENKI
|
|||
## sample configuration
|
||||
|
||||
```yaml
|
||||
jenkins: [...]
|
||||
jenkins:
|
||||
[...]
|
||||
unclassified:
|
||||
githubpluginconfig:
|
||||
configs:
|
||||
|
|
|
|||
|
|
@ -3,7 +3,8 @@
|
|||
## sample configuration
|
||||
|
||||
```yaml
|
||||
jenkins: [...]
|
||||
jenkins:
|
||||
[...]
|
||||
credentials:
|
||||
system:
|
||||
? # "global"
|
||||
|
|
|
|||
|
|
@ -5,7 +5,8 @@ Basic configuration of gitscm
|
|||
## sample configuration
|
||||
|
||||
```yaml
|
||||
jenkins: [...]
|
||||
jenkins:
|
||||
[...]
|
||||
unclassified:
|
||||
gitscm:
|
||||
globalConfigName: jenkins
|
||||
|
|
|
|||
|
|
@ -7,13 +7,11 @@ jenkins:
|
|||
authorizationStrategy:
|
||||
globalMatrix:
|
||||
grantedPermissions:
|
||||
- group:
|
||||
name: "anonymous"
|
||||
permissions:
|
||||
- name: "anonymous"
|
||||
permissions:
|
||||
- "Overall/Read"
|
||||
- group
|
||||
name: "authenticated"
|
||||
permissions:
|
||||
- name: "authenticated"
|
||||
permissions:
|
||||
- "Overall/Administer"
|
||||
```
|
||||
|
||||
|
|
@ -25,12 +23,10 @@ jenkins:
|
|||
authorizationStrategy:
|
||||
projectMatrix:
|
||||
grantedPermissions:
|
||||
- group:
|
||||
name: "anonymous"
|
||||
permissions:
|
||||
- name: "anonymous"
|
||||
permissions:
|
||||
- "Overall/Read"
|
||||
- group
|
||||
name: "authenticated"
|
||||
permissions:
|
||||
- name: "authenticated"
|
||||
permissions:
|
||||
- "Overall/Administer"
|
||||
```
|
||||
|
|
|
|||
|
|
@ -1,10 +0,0 @@
|
|||
jenkins:
|
||||
authorizationStrategy:
|
||||
globalMatrix:
|
||||
grantedPermissions:
|
||||
- name: "anonymous"
|
||||
permissions:
|
||||
- "Overall/Read"
|
||||
- name: "authenticated"
|
||||
permissions:
|
||||
- "Overall/Administer"
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
Basic Jenkins configuration under `Configure System`, which is not a part of any plugin
|
||||
|
||||
Many of the plugins are actually configured in the same section, so to configure them you'll put their configuration also under `jenkins` root element - details in plugin specific subfolders.
|
||||
Many of the plugins are actually configured in the same section, but to configure them you'll put their configuration under `unclassified` root element - details in plugin's specific subfolders.
|
||||
|
||||
[jenkins.yaml](jenkins.yaml) file is an example of configuration file with Jenkins and a number of plugins configured.
|
||||
|
||||
|
|
|
|||
|
|
@ -20,15 +20,7 @@ jenkins:
|
|||
user: "jenkins"
|
||||
instanceCapStr: "10"
|
||||
|
||||
artifactorybuilder:
|
||||
useCredentialsPlugin: true
|
||||
artifactoryServers:
|
||||
- name: foo
|
||||
serverId: artifactory
|
||||
artifactoryUrl: http://acme.com/artifactory
|
||||
resolverCredentialsConfig:
|
||||
username: artifactory_user
|
||||
password: ${ARTIFACTORY_PASSWORD}
|
||||
|
||||
|
||||
tool:
|
||||
git:
|
||||
|
|
@ -41,6 +33,17 @@ security:
|
|||
enabled: false
|
||||
|
||||
unclassified:
|
||||
|
||||
artifactorybuilder:
|
||||
useCredentialsPlugin: true
|
||||
artifactoryServers:
|
||||
- name: foo
|
||||
serverId: artifactory
|
||||
artifactoryUrl: http://acme.com/artifactory
|
||||
resolverCredentialsConfig:
|
||||
username: artifactory_user
|
||||
password: ${ARTIFACTORY_PASSWORD}
|
||||
|
||||
globalLibraries:
|
||||
libraries:
|
||||
- name: "awesome-lib"
|
||||
|
|
@ -56,7 +59,6 @@ unclassified:
|
|||
credentialsId: tfsCredentials
|
||||
enableTeamPushTriggerForAllJobs: true
|
||||
enableTeamStatusForAllJobs: true
|
||||
#userAccountMapper:
|
||||
configFolderPerNode: true
|
||||
|
||||
mailer:
|
||||
|
|
|
|||
|
|
@ -1,11 +1,12 @@
|
|||
# mailer plugin
|
||||
|
||||
Mailer plugin configuration belongs under `jenkins` root element
|
||||
Mailer plugin configuration belongs under `unclassified` root element
|
||||
|
||||
## sample configuration
|
||||
|
||||
```yaml
|
||||
jenkins: [...]
|
||||
jenkins:
|
||||
[...]
|
||||
unclassified:
|
||||
mailer:
|
||||
adminAddress: admin@acme.org
|
||||
|
|
|
|||
|
|
@ -4,7 +4,8 @@
|
|||
Sample configuration for the SonarQube plugin
|
||||
|
||||
```yaml
|
||||
jenkins: [...]
|
||||
jenkins:
|
||||
[...]
|
||||
unclassified:
|
||||
sonarglobalconfiguration: # mandatory
|
||||
installations: # mandatory
|
||||
|
|
|
|||
|
|
@ -1,11 +1,12 @@
|
|||
# TFS/Team Services plugin
|
||||
|
||||
TFS plugin configuration belongs under `jenkins` root element
|
||||
TFS plugin configuration belongs under `unclassified` root element
|
||||
|
||||
## sample configuration
|
||||
|
||||
```yaml
|
||||
jenkins: [...]
|
||||
jenkins:
|
||||
[...]
|
||||
unclassified:
|
||||
teampluginglobalconfig:
|
||||
collectionConfigurations:
|
||||
|
|
|
|||
|
|
@ -5,7 +5,8 @@ Supported in plugin **version >= 4.66**
|
|||
## sample-configuration (Example parser from help)
|
||||
|
||||
```yaml
|
||||
jenkins: [...]
|
||||
jenkins:
|
||||
[...]
|
||||
unclassified:
|
||||
warnings:
|
||||
parsers:
|
||||
|
|
|
|||
|
|
@ -1,11 +1,12 @@
|
|||
# configure global libraries plugin
|
||||
|
||||
Global Pipeline Libraries plugin configuration belongs under `jenkins` root element
|
||||
Global Pipeline Libraries plugin configuration belongs under `unclassified` root element
|
||||
|
||||
## sample configuration
|
||||
|
||||
```yaml
|
||||
jenkins: [...]
|
||||
jenkins:
|
||||
[...]
|
||||
unclassified:
|
||||
globalLibraries:
|
||||
libraries:
|
||||
|
|
|
|||
Loading…
Reference in New Issue