fix
parent
c1845b8e4d
commit
6d2fc239d1
|
@ -4725,7 +4725,7 @@ const fs = __importStar(__nccwpck_require__(57147));
|
||||||
class CloudRunnerCustomHooks {
|
class CloudRunnerCustomHooks {
|
||||||
// TODO also accept hooks as yaml files in the repo
|
// TODO also accept hooks as yaml files in the repo
|
||||||
static ApplyHooksToCommands(commands, buildParameters) {
|
static ApplyHooksToCommands(commands, buildParameters) {
|
||||||
const hooks = CloudRunnerCustomHooks.getHooks(buildParameters.customJobHooks).filter((x) => x.step.includes(`all`));
|
const hooks = CloudRunnerCustomHooks.getHooks(buildParameters.customJobHooks);
|
||||||
return `echo "---"
|
return `echo "---"
|
||||||
echo "start cloud runner init"
|
echo "start cloud runner init"
|
||||||
${cloud_runner_options_1.default.cloudRunnerDebugEnv ? `printenv` : `#`}
|
${cloud_runner_options_1.default.cloudRunnerDebugEnv ? `printenv` : `#`}
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -11,7 +11,7 @@ import * as fs from 'fs';
|
||||||
export class CloudRunnerCustomHooks {
|
export class CloudRunnerCustomHooks {
|
||||||
// TODO also accept hooks as yaml files in the repo
|
// TODO also accept hooks as yaml files in the repo
|
||||||
public static ApplyHooksToCommands(commands: string, buildParameters: BuildParameters): string {
|
public static ApplyHooksToCommands(commands: string, buildParameters: BuildParameters): string {
|
||||||
const hooks = CloudRunnerCustomHooks.getHooks(buildParameters.customJobHooks).filter((x) => x.step.includes(`all`));
|
const hooks = CloudRunnerCustomHooks.getHooks(buildParameters.customJobHooks);
|
||||||
|
|
||||||
return `echo "---"
|
return `echo "---"
|
||||||
echo "start cloud runner init"
|
echo "start cloud runner init"
|
||||||
|
|
Loading…
Reference in New Issue