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