mirror of
https://github.com/certd/certd.git
synced 2026-04-24 12:27:25 +08:00
perf: 证书直接查看
This commit is contained in:
@@ -307,13 +307,15 @@ export class Executor {
|
||||
//更新pipeline vars
|
||||
if (Object.keys(instance._result.pipelineVars).length > 0) {
|
||||
// 判断 pipelineVars 有值时更新
|
||||
const vars = await this.pipelineContext.getObj("vars");
|
||||
let vars = await this.pipelineContext.getObj("vars");
|
||||
vars = vars || {};
|
||||
merge(vars, instance._result.pipelineVars);
|
||||
await this.pipelineContext.setObj("vars", vars);
|
||||
}
|
||||
if (Object.keys(instance._result.pipelinePrivateVars).length > 0) {
|
||||
// 判断 pipelineVars 有值时更新
|
||||
const vars = await this.pipelineContext.getObj("privateVars");
|
||||
let vars = await this.pipelineContext.getObj("privateVars");
|
||||
vars = vars || {};
|
||||
merge(vars, instance._result.pipelinePrivateVars);
|
||||
await this.pipelineContext.setObj("privateVars", vars);
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ export class RunHistory {
|
||||
start(runnable: Runnable): HistoryResult {
|
||||
const now = new Date().getTime();
|
||||
this.logs[runnable.id] = [];
|
||||
this._loggers[runnable.id] = buildLogger((text) => {
|
||||
this._loggers[runnable.id] = buildLogger((text: string) => {
|
||||
this.logs[runnable.id].push(text);
|
||||
});
|
||||
const status: HistoryResult = {
|
||||
|
||||
Reference in New Issue
Block a user