mirror of
https://github.com/step-security/harden-runner.git
synced 2026-06-08 01:47:19 +00:00
Log correlation id
This commit is contained in:
parent
d5fc8f9728
commit
dd6688f0cc
3 changed files with 5 additions and 3 deletions
3
dist/pre/index.js
vendored
3
dist/pre/index.js
vendored
|
|
@ -2414,7 +2414,8 @@ var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _argume
|
|||
.on("error", (err) => { })
|
||||
.on("finish", () => __awaiter(void 0, void 0, void 0, function* () {
|
||||
filePath.close();
|
||||
core.notice(correlation_id, { title: "1234" });
|
||||
//core.notice(correlation_id, { title: "1234" });
|
||||
console.log(`Step Security Job Correlation ID: ${correlation_id}`);
|
||||
external_child_process_namespaceObject.execSync(`cp ${__dirname}/agent /home/agent/agent`);
|
||||
external_child_process_namespaceObject.execSync("chmod +x /home/agent/agent");
|
||||
external_fs_.writeFileSync("/home/agent/agent.json", confgStr);
|
||||
|
|
|
|||
2
dist/pre/index.js.map
vendored
2
dist/pre/index.js.map
vendored
File diff suppressed because one or more lines are too long
|
|
@ -40,7 +40,8 @@ import { v4 as uuidv4 } from "uuid";
|
|||
.on("error", (err) => {})
|
||||
.on("finish", async () => {
|
||||
filePath.close();
|
||||
core.notice(correlation_id, { title: "1234" });
|
||||
//core.notice(correlation_id, { title: "1234" });
|
||||
console.log(`Step Security Job Correlation ID: ${correlation_id}`);
|
||||
cp.execSync(`cp ${__dirname}/agent /home/agent/agent`);
|
||||
cp.execSync("chmod +x /home/agent/agent");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue