|
|
|
|
17
|
const headless$ = android ? headless ? `--headless` : `` : ``;
|
17
|
const headless$ = android ? headless ? `--headless` : `` : ``;
|
18
|
const workers = multi ? 3 : 1;
|
18
|
const workers = multi ? 3 : 1;
|
19
|
|
19
|
|
20
|
- console.log('guyca', `CI: ${process.env.CI} JENKINS_CI: ${process.env.JENKINS_CI}`)
|
|
|
21
|
if (platform === 'android' && process.env.JENKINS_CI) {
|
20
|
if (platform === 'android' && process.env.JENKINS_CI) {
|
22
|
const sdkmanager = '/usr/local/share/android-sdk/tools/bin/sdkmanager';
|
21
|
const sdkmanager = '/usr/local/share/android-sdk/tools/bin/sdkmanager';
|
23
|
exec.execSync(`echo y | ${sdkmanager} --update && echo y | ${sdkmanager} --licenses`);
|
22
|
exec.execSync(`echo y | ${sdkmanager} --update && echo y | ${sdkmanager} --licenses`);
|