jobb
API to generate CI job configuration (Jenkins for now)
wip
TOC
Job
job().
example description'A optionnaly rendered to **markdown** description' // Params // JSON param // // Serialize the object into a JSON string in param default value // Timer config // // Usually a string following cron syntax // Scripts // // Simply join() back into a multiline script // Script from file // // Define a job script using a local file // // Scripts must set the proper shebang line // Publishers // // They take raw input from workspace, optionally format them, and // publish / generate the results somewhere. // Trigger downstream // // Could be useful to set up a build pipeline, and chaining // related job together ; console;
Job name required.
try ; catche assert; ;
job#json.
var job = ;var data = bar: 'foo' ;var orig = bar: 'foo' ;job;datarefcheck = true;assert;job;assert;assert;
job#param.
var job = ;job;assert;assert;
job#script.
var job = ;jobassert;
job#file.
var job = ;var file = path;job;assert;
XML
Job#xml.
var xml = example;console;;