This commit is contained in:
Toki 2024-12-31 08:12:34 +09:00
parent 1f59f921c9
commit d98c2b31ea

View file

@ -51,10 +51,7 @@ class DataComposerJenkins extends DataComposer {
]).then((ProcessResult result) => jsonStr = result.stdout);
jenkinsMap = getMapFromJson(jsonStr)!;
var shell = 'printf \$BuildData';
var temp = File('/home/toki/jenkins/workspace/oto_cli_linux/temp.sh');
temp.createSync();
temp.writeAsStringSync(shell, flush: true);
await Process.start('bash', [temp.path]).then((result) {
result.stdout.listen((event) {
print('=================> ${utf8.decode(event)}');