Skip to content

Commit d6006e8

Browse files
committed
adding specs and env to send to API
1 parent 80043c2 commit d6006e8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

bin/helpers/capabilityHelper.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,14 @@ const caps = (bsConfig, zip) => {
6868
obj.callbackURL = bsConfig.run_settings.callback_url;
6969
obj.projectNotifyURL = bsConfig.run_settings.project_notify_URL;
7070
obj.parallels = bsConfig.run_settings.parallels;
71+
72+
if (!Utils.isUndefined(bsConfig.run_settings.specs)){
73+
obj.specs = bsConfig.run_settings.specs;
74+
}
75+
76+
if (!Utils.isUndefined(bsConfig.run_settings.env)){
77+
obj.env = bsConfig.run_settings.env;
78+
}
7179
}
7280

7381
if (obj.project) logger.log(`Project name is: ${obj.project}`);

0 commit comments

Comments
 (0)