mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2024-12-27 02:43:54 +02:00
14 lines
717 B
Plaintext
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"'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |