test
This commit is contained in:
parent
c78f417085
commit
6c0847a2a8
2 changed files with 6 additions and 3 deletions
|
|
@ -114,7 +114,8 @@ class Application {
|
|||
if (Platform.isWindows) {
|
||||
content = file
|
||||
.readAsStringSync(encoding: SystemEncoding())
|
||||
.replaceAll('BuildData=', '');
|
||||
.replaceAll('BuildData=', '')
|
||||
.replaceAll('\\', '/');
|
||||
var regEx = RegExp(r'(%)([a-zA-Z0-9]+)(%)');
|
||||
var list = regEx.allMatches(content);
|
||||
var params = <String>[];
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ import 'package:oto_cli/oto/build/build_flutter.dart';
|
|||
class FileData {
|
||||
static Map<String, dynamic>? get jenkinsMap {
|
||||
return {
|
||||
"workspace": Directory.current.path,
|
||||
"workspace": Directory.current.path.replaceAll('\\', '/'),
|
||||
"jenkinsHome": "",
|
||||
"jenkinsUrl": "",
|
||||
"buildUrl": "",
|
||||
|
|
@ -32,7 +32,9 @@ class TestData {
|
|||
};
|
||||
if (Platform.isMacOS) {
|
||||
map = {
|
||||
"common": {"workspace": Directory.current.path},
|
||||
"common": {
|
||||
"workspace": Directory.current.path.replaceAll('\\', '/'),
|
||||
},
|
||||
"commands": [
|
||||
// {
|
||||
// "command": "BuildDart",
|
||||
|
|
|
|||
Loading…
Reference in a new issue