Upgrades people!
This commit is contained in:
parent
f84234150f
commit
8ad56e8d38
40 changed files with 483 additions and 379 deletions
|
@ -34,9 +34,15 @@ const pipelineMaxLife = (testName) => {
|
|||
|
||||
const buildCompound = (jobReq, socketId) => {
|
||||
const { testName, command } = jobReq;
|
||||
const pipelineTriggers = jobReq.pipelineTriggers;
|
||||
if (pipelineTriggers) command.push(`pipelineTriggers=${pipelineTriggers}`);
|
||||
command.push(`pipelineDashboardSocket=${socketId}`);
|
||||
const { pipeline } = jobReq;
|
||||
if (pipeline) {
|
||||
pipeline.dashboardSocketId = socketId;
|
||||
const pipelineArg = Buffer.from(JSON.stringify(pipeline), "utf8").toString(
|
||||
"base64"
|
||||
);
|
||||
command.push(`pipeline=${pipelineArg}`);
|
||||
}
|
||||
|
||||
return { ...jobReq, command };
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue