Added dev reporting
This commit is contained in:
parent
d4acc497f1
commit
f559b653f2
10 changed files with 145 additions and 12 deletions
|
@ -7,22 +7,16 @@ import { Initiator, Executor } from "qualiteer/clients";
|
|||
const qltr = new Qualiteer();
|
||||
await qltr.start();
|
||||
|
||||
const url = "https://Qualiteer.elijahparker3.repl.co";
|
||||
const url = process.env.QUALITEER_URL;
|
||||
|
||||
// Create an initiator and make a job request
|
||||
const primary = new Initiator(url);
|
||||
const job = {
|
||||
command: ["node", "dev/other.js"],
|
||||
type: "compound",
|
||||
testName: "primary",
|
||||
pipelineLife: 1,
|
||||
name: "testing",
|
||||
image: "node",
|
||||
};
|
||||
await primary.newJob(job, null, () => console.log("Primary Job Concluded"));
|
||||
|
||||
/*const { clients } = qltr.jobs;
|
||||
const skId = Object.keys(clients)[0];
|
||||
const { jobs } = clients[skId];
|
||||
const serverJob = jobs[0];
|
||||
|
||||
const exec = new Executor(url, serverJob);
|
||||
exec.runJob();
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue