test
This commit is contained in:
parent
089381c00b
commit
5b79006e35
1 changed files with 4 additions and 1 deletions
|
|
@ -51,7 +51,10 @@ class DataComposerJenkins extends DataComposer {
|
|||
]).then((ProcessResult result) => jsonStr = result.stdout);
|
||||
jenkinsMap = getMapFromJson(jsonStr)!;
|
||||
|
||||
await Process.run('echo', ['-e', '\$BuildData'])
|
||||
var temp = File('${Directory.current.path}/temp.sh');
|
||||
temp.createSync();
|
||||
temp.writeAsStringSync('echo -e \$BuildData', flush: true);
|
||||
await Process.run(shellExe, [temp.path])
|
||||
.then((processResult) => {print(processResult.stdout)});
|
||||
} else if (Platform.isWindows) {
|
||||
await Process.run('cmd', [
|
||||
|
|
|
|||
Loading…
Reference in a new issue