1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2024-11-30 09:16:44 +02:00
OpenIntegrations/ci/sonar
2024-10-06 21:57:52 +03:00

14 lines
726 B
Plaintext

pipeline {
agent any
stages {
stage('Scan') {
steps {
withCredentials([string(credentialsId: 'Sonar', variable: 'LOGIN')]) {
bat 'call "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"'
bat 'call "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.coverageReportPaths=OInt/coverage/genericCoverage.xml" -D"sonar.inclusions=**/*.os"'
}
}
}
}
}