diff --git a/Jenkinsfile b/Jenkinsfile index e46afc8..1fdbe7c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -24,6 +24,17 @@ pipeline { stages { + stage("Синхронизация с хранилищем") { + steps { + script { + scannerHome = tool name: 'sonar-scanner', type: 'hudson.plugins.sonar.SonarRunnerInstallation' + withSonarQubeEnv("Sonar") { + bat "chcp 65001\n SET GITSYNC_V8VERSION=${platformVersion}\n gitsync sync -u ci-bot -p 12345 C:/storage_1c/tg_bot_1c/ src/cf" + } + } + } + } + stage("SonarQube") { steps { script {