1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2024-11-28 09:08:38 +02:00
OpenIntegrations/ci/sonar

14 lines
708 B
Plaintext
Raw Normal View History

2024-10-06 20:55:32 +02:00
pipeline {
agent any
stages {
stage('Scan') {
2024-10-07 08:50:12 +02:00
steps {
2024-10-06 20:57:52 +02:00
withCredentials([string(credentialsId: 'Sonar', variable: 'LOGIN')]) {
2024-10-07 08:50:12 +02:00
bat 'call cd ./src/ru & "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 & "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"'
2024-10-06 20:57:52 +02:00
}
2024-10-06 20:55:32 +02:00
}
}
}
}