-
crlishka authored
* Initial stab at a trigger script for Jenkins mult-branch pipeline * CHANGE_URL is not working, so disable for now * CHANGE_AUTHOR not found either, disabling * Disable some prints of vars that do not appear to be available * Add in node block * Correct the node-label expression * Put Jenkins repo in a subdirectory and use the requested branch * Fix groovy syntax error * Call ngraph-unittest.groovy * Corrected the branch name for cje-algo * Now that the GitHub plugin is working, try restoring CHANGE_URL and CHANGE_AUTHOR * Set an environment variable MB_PIPELINE_CHECKOUT, to trigger proper checkout command in runNgraphBuild() * Try alternate load mechanism * I've settled on using "load()" to directly run the code in ngraph-unittest.groovy, so remove vestigal loading of an ngraphUnitTest() function * Change parameter assignments to be of the form params.var = 'new value' * Try alternate method of setting parameter values for ngraph-unittest.groovy * Try parameters-setting syntax from https://qa.nuxeo.org/jenkins/pipeline-syntax/globals#params * Correct typo * Try to work around parameter expansion issue * Modify strategy for passing parameters and using MB Pipeline style checkouts, as per discussions with Nick * Fixed calling syntax * Simply call * Make job parameters as local variables and passed as parameters to ngraphCIPremerge() function, as many of these are used in the closure for parallel tasks, and the lexically scoped global vaiariables was causing function signature mismatches on runNgraphBuild() calls. * Remove prints * Move CI to working from Jenkins cje-algo master branch * Add standard header copyright message * Changes from suggestions in PR review * Revert env.WORKSPACE (requested in a review) because it wasn't working -- a "null" ending up in the load path, for unknown reasons
3ceb6499