Unclassified is on the same lavel as root

This commit is contained in:
Praqma Release User 2018-06-04 11:25:49 +02:00
parent ecd378711d
commit 65fc014d33
4 changed files with 41 additions and 46 deletions

View File

@ -12,18 +12,17 @@ credentials:
apiToken: "qwertyuiopasdfghjklzxcvbnm"
description: "Gitlab Token"
jenkins:
unclassified:
gitlabconnectionconfig:
connections:
- gitlab-socrate:
apiTokenId: "gitlab_token"
name: "my_gitlab_server"
url: "https://gitlab.com"
readTimeout: "10"
connectionTimeout: "10"
ignoreCertificateErrors: true
clientBuilderId: "autodetect"
unclassified:
gitlabconnectionconfig:
connections:
- gitlab-socrate:
apiTokenId: "gitlab_token"
name: "my_gitlab_server"
url: "https://gitlab.com"
readTimeout: "10"
connectionTimeout: "10"
ignoreCertificateErrors: true
clientBuilderId: "autodetect"
```

View File

@ -3,11 +3,10 @@
## sample configuration
```yaml
jenkins:
unclassified:
graphiteserver:
servers:
- hostname: "1.2.3.4"
port: 2003
prefix: jenkins.master.
unclassified:
graphiteserver:
servers:
- hostname: "1.2.3.4"
port: 2003
prefix: jenkins.master.
```

View File

@ -5,22 +5,21 @@ Supported in plugin **version >= 4.66**
## sample-configuration (Example parser from help)
```yaml
jenkins:
unclassified:
warnings:
parsers:
- name: "Example parser"
linkName: "Example parser link"
trendName: "Example parser trend name"
regexp: "^\\s*(.*):(\\d+):(.*):\\s*(.*)$"
script: |
import hudson.plugins.warnings.parser.Warning
String fileName = matcher.group(1)
String lineNumber = matcher.group(2)
String category = matcher.group(3)
String message = matcher.group(4)
return new Warning(fileName, Integer.parseInt(lineNumber), "Dynamic Parser", category, message);
example: "somefile.txt:2:SeriousWarnings:SomethingWentWrong"
unclassified:
warnings:
parsers:
- name: "Example parser"
linkName: "Example parser link"
trendName: "Example parser trend name"
regexp: "^\\s*(.*):(\\d+):(.*):\\s*(.*)$"
script: |
import hudson.plugins.warnings.parser.Warning
String fileName = matcher.group(1)
String lineNumber = matcher.group(2)
String category = matcher.group(3)
String message = matcher.group(4)
return new Warning(fileName, Integer.parseInt(lineNumber), "Dynamic Parser", category, message);
example: "somefile.txt:2:SeriousWarnings:SomethingWentWrong"
```

View File

@ -5,15 +5,13 @@ Global Pipeline Libraries plugin configuration belongs under `jenkins` root elem
## sample configuration
```yaml
jenkins:
[...]
unclassified:
globalLibraries:
libraries:
- name: "awesome-lib"
retriever:
modernSCM:
scm:
git:
remote: "https://github.com/jenkins-infra/pipeline-library.git"
unclassified:
globalLibraries:
libraries:
- name: "awesome-lib"
retriever:
modernSCM:
scm:
git:
remote: "https://github.com/jenkins-infra/pipeline-library.git"
```