test
This commit is contained in:
parent
9d89cd7c9d
commit
17e336659f
1 changed files with 6 additions and 6 deletions
|
|
@ -51,12 +51,12 @@ class DataComposerJenkins extends DataComposer {
|
|||
]).then((ProcessResult result) => jsonStr = result.stdout);
|
||||
jenkinsMap = getMapFromJson(jsonStr)!;
|
||||
|
||||
var shell = 'echo -e \$BuildData';
|
||||
var result = await Process.run(shell, []);
|
||||
print('%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n${result.stdout}');
|
||||
var file = File('/home/toki/jenkins/workspace/oto_linux/build_data.yaml');
|
||||
file.createSync(recursive: true);
|
||||
file.writeAsStringSync(result.stdout);
|
||||
// var shell = 'echo -e \$BuildData';
|
||||
// var result = await Process.run(shell, []);
|
||||
// print('%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n${result.stdout}');
|
||||
// var file = File('/home/toki/jenkins/workspace/oto_linux/build_data.yaml');
|
||||
// file.createSync(recursive: true);
|
||||
// file.writeAsStringSync(result.stdout);
|
||||
} else if (Platform.isWindows) {
|
||||
await Process.run('cmd', [
|
||||
'/C',
|
||||
|
|
|
|||
Loading…
Reference in a new issue