mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2024-11-24 08:52:18 +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"'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |