This commit is contained in:
Toki 2024-12-30 22:04:55 +09:00
parent 653d479fc4
commit ae6f16e2ab

View file

@ -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', [