mirror of
https://github.com/firstBitMarksistskaya/jenkins-lib.git
synced 2025-02-12 14:57:15 +02:00
Схема и корневая конфигурация
This commit is contained in:
parent
2d29485f7c
commit
b3ace45d3a
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user