Revision af083df737c8e1e225c502b8cf1688f5483cd8a1 authored by Ron Buckton on 28 August 2017, 06:41:34 UTC, committed by Ron Buckton on 28 August 2017, 06:49:32 UTC
1 parent b10b0bf
netci.groovy
// Import the utility functionality.
import jobs.generation.Utilities;
// Defines a the new of the repo, used elsewhere in the file
def project = GithubProject
def branch = GithubBranchName
def nodeVersions = ['stable', '6', '4']
nodeVersions.each { nodeVer ->
def newJobName = "typescript_node.${nodeVer}"
def newJob = job(Utilities.getFullJobName(project, newJobName, true)) {
steps {
shell("./jenkins.sh ${nodeVer}")
}
}
Utilities.standardJobSetup(newJob, project, true, "*/${branch}")
Utilities.setMachineAffinity(newJob, 'Ubuntu14.04', '20161020')
Utilities.addGithubPRTriggerForBranch(newJob, branch, "TypeScript Test Run ${newJobName}")
}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...