File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -35,22 +35,22 @@ const caps = (bsConfig, zip) => {
35
35
36
36
// Local Identifier
37
37
obj . localIdentifier = null ;
38
- if ( obj . local === true && bsConfig . connection_settings . localIdentifier )
38
+ if ( obj . local === true && ( bsConfig . connection_settings . localIdentifier || bsConfig . connection_settings . local_identifier ) )
39
39
{
40
- obj . localIdentifier = bsConfig . connection_settings . localIdentifier ;
40
+ obj . localIdentifier = bsConfig . connection_settings . localIdentifier || bsConfig . connection_settings . local_identifier ;
41
41
logger . log ( `Local Identifier is set to: ${ obj . localIdentifier } ` ) ;
42
42
}
43
43
44
44
// Project name
45
- obj . project = bsConfig . run_settings . project
45
+ obj . project = bsConfig . run_settings . project || bsConfig . run_settings . project_name ;
46
46
if ( ! obj . project ) logger . log ( `Project name is: ${ obj . project } ` ) ;
47
47
48
48
// Base url
49
49
obj . base_url = bsConfig . run_settings . baseUrl
50
50
if ( obj . base_url ) logger . log ( `Base url is : ${ obj . base_url } ` ) ;
51
51
52
52
// Build name
53
- obj . customBuildName = bsConfig . run_settings . customBuildName
53
+ obj . customBuildName = bsConfig . run_settings . customBuildName || bsConfig . run_settings . build_name ;
54
54
if ( obj . customBuildName ) logger . log ( `Build name is: ${ obj . customBuildName } ` ) ;
55
55
56
56
//callback url
Original file line number Diff line number Diff line change @@ -13,12 +13,12 @@ module.exports = function () {
13
13
] ,
14
14
"run_settings" : {
15
15
"cypress_proj_dir" : "/path/to/cypress.json" ,
16
- "project " : "project-name" ,
17
- "customBuildName " : "build-name"
16
+ "project_name " : "project-name" ,
17
+ "build_name " : "build-name"
18
18
} ,
19
19
"connection_settings" : {
20
20
"local" : false ,
21
- "localIdentifier " : null
21
+ "local_identifier " : null
22
22
}
23
23
}
24
24
var EOL = require ( 'os' ) . EOL
You can’t perform that action at this time.
0 commit comments