Clarified demo examples, clearly marking unclassified as a root element to avoid confusion

This commit is contained in:
Praqma Release User 2018-06-04 11:46:50 +02:00
parent 65fc014d33
commit 2bd4f0357a
10 changed files with 36 additions and 29 deletions

View File

@ -5,6 +5,7 @@ Artifactory plugin configuration belongs under `jenkins` root element
## sample configuration ## sample configuration
```yaml ```yaml
jenkins: [...]
unclassified: unclassified:
[...] [...]
artifactorybuilder: artifactorybuilder:

View File

@ -5,6 +5,7 @@ Basic configuration of the [GitHub plugin](https://wiki.jenkins.io/display/JENKI
## sample configuration ## sample configuration
```yaml ```yaml
jenkins: [...]
unclassified: unclassified:
githubpluginconfig: githubpluginconfig:
configs: configs:

View File

@ -3,6 +3,7 @@
## sample configuration ## sample configuration
```yaml ```yaml
jenkins: [...]
credentials: credentials:
system: system:
? # "global" ? # "global"

View File

@ -5,6 +5,7 @@ Basic configuration of gitscm
## sample configuration ## sample configuration
```yaml ```yaml
jenkins: [...]
unclassified: unclassified:
gitscm: gitscm:
globalConfigName: jenkins globalConfigName: jenkins

View File

@ -4,30 +4,6 @@ jenkins:
scmCheckoutRetryCount: 2 scmCheckoutRetryCount: 2
mode: NORMAL mode: NORMAL
globalLibraries:
libraries:
- name: "awesome-lib"
retriever:
modernSCM:
scm:
git:
remote: "https://github.com/jenkins-infra/pipeline-library.git"
teampluginglobalconfig:
collectionConfigurations:
- collectionUrl: http://test.com
credentialsId: tfsCredentials
enableTeamPushTriggerForAllJobs: true
enableTeamStatusForAllJobs: true
#userAccountMapper:
configFolderPerNode: true
mailer:
adminAddress: admin@acme.org
replyToAddress: do-not-reply@acme.org
smtpHost: smtp.acme.org
smtpPort: 4441
clouds: clouds:
- docker: - docker:
name: "docker" name: "docker"
@ -63,3 +39,28 @@ tool:
security: security:
remotingCLI: remotingCLI:
enabled: false enabled: false
unclassified:
globalLibraries:
libraries:
- name: "awesome-lib"
retriever:
modernSCM:
scm:
git:
remote: "https://github.com/jenkins-infra/pipeline-library.git"
teampluginglobalconfig:
collectionConfigurations:
- collectionUrl: http://test.com
credentialsId: tfsCredentials
enableTeamPushTriggerForAllJobs: true
enableTeamStatusForAllJobs: true
#userAccountMapper:
configFolderPerNode: true
mailer:
adminAddress: admin@acme.org
replyToAddress: do-not-reply@acme.org
smtpHost: smtp.acme.org
smtpPort: 4441

View File

@ -5,8 +5,8 @@ Mailer plugin configuration belongs under `jenkins` root element
## sample configuration ## sample configuration
```yaml ```yaml
unclassified: jenkins: [...]
[...] unclassified:
mailer: mailer:
adminAddress: admin@acme.org adminAddress: admin@acme.org
replyToAddress: do-not-reply@acme.org replyToAddress: do-not-reply@acme.org

View File

@ -4,8 +4,8 @@
Sample configuration for the SonarQube plugin Sample configuration for the SonarQube plugin
```yaml ```yaml
jenkins: [...]
unclassified: unclassified:
sonarglobalconfiguration: # mandatory sonarglobalconfiguration: # mandatory
installations: # mandatory installations: # mandatory
- Sonar566: - Sonar566:

View File

@ -5,8 +5,8 @@ TFS plugin configuration belongs under `jenkins` root element
## sample configuration ## sample configuration
```yaml ```yaml
jenkins: jenkins: [...]
[...] unclassified:
teampluginglobalconfig: teampluginglobalconfig:
collectionConfigurations: collectionConfigurations:
- collectionUrl: http://test.com - collectionUrl: http://test.com

View File

@ -5,6 +5,7 @@ Supported in plugin **version >= 4.66**
## sample-configuration (Example parser from help) ## sample-configuration (Example parser from help)
```yaml ```yaml
jenkins: [...]
unclassified: unclassified:
warnings: warnings:
parsers: parsers:

View File

@ -5,6 +5,7 @@ Global Pipeline Libraries plugin configuration belongs under `jenkins` root elem
## sample configuration ## sample configuration
```yaml ```yaml
jenkins: [...]
unclassified: unclassified:
globalLibraries: globalLibraries:
libraries: libraries: