1
0
mirror of https://github.com/firstBitMarksistskaya/jenkins-lib.git synced 2025-02-12 14:57:15 +02:00

Схема и корневая конфигурация

This commit is contained in:
Nikita Gryzlov 2020-04-15 18:24:12 +03:00
parent 2d29485f7c
commit b3ace45d3a
No known key found for this signature in database
GPG Key ID: C1EAE411FEF0BF2F
2 changed files with 30 additions and 6 deletions

View File

@ -1,8 +1,13 @@
{
"$schema": "schema.json",
"sonarScannerToolName": "sonar-scanner",
"secrets": {
"storagePath": "UNKNOWN_ID",
"storage": "UNKNOWN_ID"
},
"sonarqube": {
"enabled": false,
"sonarQubeInstallation": "",
"useSonarScannerFromPath": true,
"sonarScannerToolName": "sonar-scanner"
}
}
}

View File

@ -6,10 +6,6 @@
"type" : "string",
"description" : "Версия платформы 1С:Предприятие в формате 8.3.хх.хххх."
},
"sonarScannerToolName" : {
"type" : "string",
"description" : "Имя настроенной утилиты sonar-scanner."
},
"secrets" : {
"type" : "object",
"id" : "urn:jsonschema:ru:pulsar:jenkins:library:configuration:Secrets",
@ -24,6 +20,29 @@
"description" : "Данные авторизации в хранилище конфигурации"
}
}
},
"sonarqube" : {
"type" : "object",
"id" : "urn:jsonschema:ru:pulsar:jenkins:library:configuration:SonarQubeOptions",
"description" : "Настройки анализа SonarQube",
"properties" : {
"enabled" : {
"type" : "boolean",
"description" : "Анализ SonarQube включен"
},
"sonarQubeInstallation" : {
"type" : "string",
"description" : "Имя настроенного SonarQube-сервера (SonarQube installations).\nЕсли настроен только один сервер, то может быть оставлено пустым."
},
"useSonarScannerFromPath" : {
"type" : "boolean",
"description" : "Использовать sonar-scanner, доступный в PATH"
},
"sonarScannerToolName" : {
"type" : "string",
"description" : "Имя настроенной утилиты sonar-scanner.\nПрименяется, если useSonarScannerFromPath установлено в false."
}
}
}
}
}