1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2024-11-21 17:56:56 +02:00
OpenIntegrations/ci/sonar
Anton Titovets 45fd4b8f73 Update sonar
2024-10-07 09:54:32 +03:00

14 lines
717 B
Plaintext

pipeline {
agent any
stages {
stage('Scan') {
steps {
withCredentials([string(credentialsId: 'Sonar', variable: 'LOGIN')]) {
bat 'call cd ./src/ru/OInt & "C:/Program Files/sonar-scanner-5.0.1.3006-windows/bin/sonar-scanner.bat" -D"sonar.projectKey=OInt" -D"sonar.login=%LOGIN%" -D"sonar.sourceEncoding=UTF-8" -D"sonar.inclusions=**/*.os"'
bat 'call cd ./src/ru/OPI & "C:/Program Files/sonar-scanner-5.0.1.3006-windows/bin/sonar-scanner.bat" -D"sonar.projectKey=OpenIntegrations" -D"sonar.login=%LOGIN%" -D"sonar.sourceEncoding=UTF-8" -D"sonar.inclusions=**/*.bsl"'
}
}
}
}
}