We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d8a9d8 commit ed459ccCopy full SHA for ed459cc
scripts/release.js
@@ -18,7 +18,7 @@ function run() {
18
}
19
20
function validateEnv() {
21
- if (!process.env.CI) {
+ if (!process.env.JENKINS_CI) {
22
throw new Error(`releasing is only available from CI`);
23
24
scripts/test-e2e.js
@@ -12,7 +12,7 @@ function run() {
12
const prefix = android ? `android.emu` : `ios.sim`;
13
const suffix = release ? `release` : `debug`;
14
const configuration = `${prefix}.${suffix}`;
15
- const cleanup = process.env.CI ? `--cleanup` : ``;
+ const cleanup = process.env.JENKINS_CI ? `--cleanup` : ``;
16
17
if (!skipBuild) {
exec.execSync(`detox build --configuration ${configuration}`);
0 commit comments