kkkkuba
kkkkuba

Reputation: 91

Jenkins pipeline powershell wrong format in console output

I get strange output with powershell pipeline in Jenkins 2.77 (Windows machine)

node('build') {
    stage('From sharedlibrary') {
        powershell 'Write-Output "Hello, World!"'
    }
}

Output:

[QA_SharedLibrary] Running PowerShell script Hello, World!

I tried add -Dfile.encoding=UTF8 to each build machine, but no result.

Upvotes: 0

Views: 976

Answers (1)

kkkkuba
kkkkuba

Reputation: 91

Ok, I found problem it's bug inside plugin https://issues.jenkins-ci.org/browse/JENKINS-46496

Upvotes: 1

Related Questions