File tree Expand file tree Collapse file tree 2 files changed +7
-11
lines changed Expand file tree Collapse file tree 2 files changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -35,22 +35,18 @@ const caps = (bsConfig, zip) => {
3535
3636 // Local Identifier
3737 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 ) )
3939 {
40- obj . localIdentifier = bsConfig . connection_settings . localIdentifier ;
40+ obj . localIdentifier = bsConfig . connection_settings . localIdentifier || bsConfig . connection_settings . local_identifier ;
4141 logger . log ( `Local Identifier is set to: ${ obj . localIdentifier } ` ) ;
4242 }
4343
4444 // Project name
45- obj . project = bsConfig . run_settings . project
45+ obj . project = bsConfig . run_settings . project || bsConfig . run_settings . project_name ;
4646 if ( ! obj . project ) logger . log ( `Project name is: ${ obj . project } ` ) ;
4747
48- // Base url
49- obj . base_url = bsConfig . run_settings . baseUrl
50- if ( obj . base_url ) logger . log ( `Base url is : ${ obj . base_url } ` ) ;
51-
5248 // Build name
53- obj . customBuildName = bsConfig . run_settings . customBuildName
49+ obj . customBuildName = bsConfig . run_settings . customBuildName || bsConfig . run_settings . build_name ;
5450 if ( obj . customBuildName ) logger . log ( `Build name is: ${ obj . customBuildName } ` ) ;
5551
5652 //callback url
Original file line number Diff line number Diff line change @@ -13,12 +13,12 @@ module.exports = function () {
1313 ] ,
1414 "run_settings" : {
1515 "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"
1818 } ,
1919 "connection_settings" : {
2020 "local" : false ,
21- "localIdentifier " : null
21+ "local_identifier " : null
2222 }
2323 }
2424 var EOL = require ( 'os' ) . EOL
You can’t perform that action at this time.
0 commit comments