1
0
mirror of https://github.com/agibalovsa/-1C_DevOps.git synced 2025-10-08 23:22:16 +02:00
This commit is contained in:
Sergey Agibalov
2025-08-14 21:37:11 +03:00
2 changed files with 4 additions and 1 deletions

View File

@@ -1,6 +1,9 @@
## Sonarqube options
# > https://hub.docker.com/_/sonarqube
# > https://github.com/1c-syntax/sonar-l10n-ru
# > https://github.com/1c-syntax/sonar-bsl-plugin-community
# > https://github.com/mc1arke/sonarqube-community-branch-plugin
SONAR_REPO="${SONAR_REPO:-sonarqube}"
SONAR_VERSION="${SONAR_VERSION}"

View File

@@ -16,7 +16,7 @@ install_plugins() {
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*;
wget --progress=dot:giga --timeout=30 -O "./extensions/plugins/sonar-l10n-ru-plugin-${RUSSIAN_PACK_VERSION}.jar" "https://github.com/1c-syntax/sonar-l10n-ru/releases/download/v${RUSSIAN_PACK_VERSION}/sonar-l10n-ru-plugin-${RUSSIAN_PACK_VERSION}.jar";
if [ "$BSL_PLUGIN_VERSION" = "nightly*" ]; then
if [[ ${BSL_PLUGIN_VERSION} =~ nightly* ]]; then
wget --progress=dot:giga --timeout=30 -O "./extensions/plugins/sonar-communitybsl-plugin-${BSL_PLUGIN_VERSION}.jar" "https://github.com/1c-syntax/sonar-bsl-plugin-community/releases/download/v999.99.99/sonar-communitybsl-plugin-${BSL_PLUGIN_VERSION}.jar";
else
wget --progress=dot:giga --timeout=30 -O "./extensions/plugins/sonar-communitybsl-plugin-${BSL_PLUGIN_VERSION}.jar" "https://github.com/1c-syntax/sonar-bsl-plugin-community/releases/download/v${BSL_PLUGIN_VERSION}/sonar-communitybsl-plugin-${BSL_PLUGIN_VERSION}.jar";