1
0
mirror of https://github.com/Stepa86/jenkins-pipeline-1C-to-sonar.git synced 2024-11-24 08:22:19 +02:00

Эксперименты с выводом

This commit is contained in:
Антон Степанов 2019-09-03 12:44:33 +03:00 committed by GitHub
parent 973a0a11c5
commit 163dc84a58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

1
Sonar/Jenkinsfile vendored
View File

@ -235,6 +235,7 @@ pipeline {
}
}
def cmd(command) {
command = command.stripIndent()
// при запуске Jenkins не в режиме UTF-8 нужно написать chcp 1251 вместо chcp 65001
echo command
if (isUnix()) { sh "${command}" } else { bat "chcp 65001\n${command}" }