fixes
parent
4386307272
commit
32f85ee17c
|
@ -5599,7 +5599,7 @@ class TaskParameterSerializer {
|
||||||
static async exportAllCiVariablesWithoutPrefix() {
|
static async exportAllCiVariablesWithoutPrefix() {
|
||||||
for (const variable of Object.entries(process.env)) {
|
for (const variable of Object.entries(process.env)) {
|
||||||
if (variable[0].includes(`CI_`)) {
|
if (variable[0].includes(`CI_`)) {
|
||||||
await cloud_runner_system_1.CloudRunnerSystem.Run(`export ${variable[0].replace(`CI_`, ``)}="${variable[1] || ``}"`);
|
process.env[variable[0].replace(`CI_`, ``)] = `${variable[1] || ``}`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
await cloud_runner_system_1.CloudRunnerSystem.Run(`printenv`);
|
await cloud_runner_system_1.CloudRunnerSystem.Run(`printenv`);
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -158,7 +158,7 @@ export class TaskParameterSerializer {
|
||||||
public static async exportAllCiVariablesWithoutPrefix() {
|
public static async exportAllCiVariablesWithoutPrefix() {
|
||||||
for (const variable of Object.entries(process.env)) {
|
for (const variable of Object.entries(process.env)) {
|
||||||
if (variable[0].includes(`CI_`)) {
|
if (variable[0].includes(`CI_`)) {
|
||||||
await CloudRunnerSystem.Run(`export ${variable[0].replace(`CI_`, ``)}="${variable[1] || ``}"`);
|
process.env[variable[0].replace(`CI_`, ``)] = `${variable[1] || ``}`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
await CloudRunnerSystem.Run(`printenv`);
|
await CloudRunnerSystem.Run(`printenv`);
|
||||||
|
|
Loading…
Reference in New Issue