Skip to content

Commit 6dc9a3e

Browse files
authored
Merge pull request #5 from raghuhit/jenkins_changes
Jenkins changes
2 parents c5f1800 + 8f08b7f commit 6dc9a3e

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

android/features/support/env.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
caps = CONFIG['common_caps'].merge(CONFIG['browser_caps'][TASK_ID])
1515
$bs_local = nil
1616

17+
if ENV['BROWSERSTACK_APP_ID']
18+
caps['app'] = ENV['BROWSERSTACK_APP_ID']
19+
end
20+
1721
if caps['browserstack.local'] && caps['browserstack.local'].to_s == 'true'
1822
$bs_local = BrowserStack::Local.new
1923
bs_local_args = { "key" => "#{CONFIG['key']}" }

ios/features/support/env.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
caps = CONFIG['common_caps'].merge(CONFIG['browser_caps'][TASK_ID])
1515
$bs_local = nil
1616

17+
if ENV['BROWSERSTACK_APP_ID']
18+
caps['app'] = ENV['BROWSERSTACK_APP_ID']
19+
end
20+
1721
if caps['browserstack.local'] && caps['browserstack.local'].to_s == 'true'
1822
$bs_local = BrowserStack::Local.new
1923
bs_local_args = { "key" => "#{CONFIG['key']}" }

0 commit comments

Comments
 (0)