2024-10-06 21:55:32 +03:00
|
|
|
pipeline {
|
|
|
|
agent any
|
|
|
|
stages {
|
|
|
|
|
|
|
|
stage('Scan') {
|
2024-10-07 09:50:12 +03:00
|
|
|
steps {
|
2024-10-06 21:57:52 +03:00
|
|
|
withCredentials([string(credentialsId: 'Sonar', variable: 'LOGIN')]) {
|
2024-10-07 09:54:32 +03:00
|
|
|
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"'
|
2024-10-06 21:57:52 +03:00
|
|
|
}
|
2024-10-06 21:55:32 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|