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