Skip to content
This repository has been archived by the owner on Mar 12, 2021. It is now read-only.

Commit

Permalink
Исправил вывод неверной кодировки при прогоне тестов в Jenkins #31
Browse files Browse the repository at this point in the history
  • Loading branch information
artbear committed Aug 26, 2016
1 parent f68814a commit bf0be20
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ node("slave") {

stage "test"

def commandToRun = "oscript -encoding=utf-8 finder.os";
// если использовать oscript -encoding=utf-8, то использовать в Jenkins на Windows ни одно переключение кодировок через chcp ХХХ не даст правильную кодировку, все время будут иероглифы !!
// в итого в Jenkins на Windows нужно запускать oscript без -encoding=utf-8

def commandToRun = "oscript finder.os";
dir('tests') {
if (isUnix){
sh "${commandToRun}"
Expand All @@ -30,7 +33,7 @@ node("slave") {

stage "exec gitsync features"

command = """oscript -encoding=utf-8 ./1bdd/src/bdd.os ./src/gitsync/features -out ./bdd-exec.log"""
command = """oscript ./1bdd/src/bdd.os ./src/gitsync/features -out ./bdd-exec.log"""

def errors = []
try{
Expand Down

0 comments on commit bf0be20

Please sign in to comment.