test
This commit is contained in:
parent
5967a0a65b
commit
1f59f921c9
1 changed files with 1 additions and 2 deletions
|
|
@ -52,7 +52,7 @@ class DataComposerJenkins extends DataComposer {
|
|||
jenkinsMap = getMapFromJson(jsonStr)!;
|
||||
|
||||
var shell = 'printf \$BuildData';
|
||||
var temp = File('${Directory.systemTemp.path}/temp.sh');
|
||||
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) {
|
||||
|
|
@ -62,7 +62,6 @@ class DataComposerJenkins extends DataComposer {
|
|||
result.stderr.listen((event) {
|
||||
print('err =============> ${utf8.decode(event)}');
|
||||
});
|
||||
return result;
|
||||
});
|
||||
} else if (Platform.isWindows) {
|
||||
await Process.run('cmd', [
|
||||
|
|
|
|||
Loading…
Reference in a new issue