118 lines
2.5 KiB
Plaintext
118 lines
2.5 KiB
Plaintext
pipelineJob('nwl') {
|
|
def branchToUse = binding.variables.get("SEEDING_BRANCH")
|
|
|
|
displayName('1. NWL CI Pipeline')
|
|
description('CI pipeline for the NetModule Wireless Linux')
|
|
authorization {
|
|
permissionAll('anonymous')
|
|
}
|
|
authenticationToken('buildNwlToken')
|
|
logRotator {
|
|
artifactDaysToKeep(7)
|
|
artifactNumToKeep(7)
|
|
daysToKeep(7)
|
|
numToKeep(7)
|
|
}
|
|
properties {
|
|
pipelineTriggers {
|
|
triggers {
|
|
cron {
|
|
spec('H H(5-6) * * 1-5')
|
|
}
|
|
}
|
|
}
|
|
}
|
|
definition {
|
|
cpsScm {
|
|
scm {
|
|
git {
|
|
branches(branchToUse)
|
|
extensions {
|
|
cloneOptions {
|
|
depth(1)
|
|
}
|
|
}
|
|
remote {
|
|
credentials('nmgit_credentials')
|
|
url('ssh://git@bitbucket.gad.local:7999/nm-nsp/nwl-ci.git')
|
|
}
|
|
}
|
|
scriptPath('jobs/Jenkinsfile_BuildAll')
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
pipelineJob('nwl-target') {
|
|
def branchToUse = binding.variables.get("SEEDING_BRANCH")
|
|
|
|
displayName('2. NWL Yocto Build')
|
|
description('CI pipeline building a NetModule Wireless Linux Yocto Target')
|
|
authorization {
|
|
permissionAll('anonymous')
|
|
}
|
|
authenticationToken('buildNwlToken')
|
|
logRotator {
|
|
artifactDaysToKeep(7)
|
|
artifactNumToKeep(7)
|
|
daysToKeep(7)
|
|
numToKeep(7)
|
|
}
|
|
definition {
|
|
cpsScm {
|
|
scm {
|
|
git {
|
|
branches(branchToUse)
|
|
extensions {
|
|
cloneOptions {
|
|
depth(1)
|
|
}
|
|
}
|
|
remote {
|
|
credentials('nmgit_credentials')
|
|
url('ssh://git@bitbucket.gad.local:7999/nm-nsp/nwl-ci.git')
|
|
}
|
|
}
|
|
scriptPath('jobs/Jenkinsfile_BuildTarget')
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
pipelineJob('nwl-update-src-rev') {
|
|
def branchToUse = binding.variables.get("SEEDING_BRANCH")
|
|
|
|
displayName('0. Update Source Revisions')
|
|
description('CI pipeline updating the source revisions for the NetModule Wireless Linux')
|
|
authorization {
|
|
permissionAll('anonymous')
|
|
}
|
|
authenticationToken('buildNwlToken')
|
|
logRotator {
|
|
artifactDaysToKeep(7)
|
|
artifactNumToKeep(7)
|
|
daysToKeep(7)
|
|
numToKeep(7)
|
|
}
|
|
definition {
|
|
cpsScm {
|
|
scm {
|
|
git {
|
|
branches(branchToUse)
|
|
extensions {
|
|
cloneOptions {
|
|
depth(1)
|
|
}
|
|
}
|
|
remote {
|
|
credentials('nmgit_credentials')
|
|
url('ssh://git@bitbucket.gad.local:7999/nm-nsp/nwl-ci.git')
|
|
}
|
|
}
|
|
scriptPath('jobs/Jenkinsfile_UpdateSrcRevisions')
|
|
}
|
|
}
|
|
}
|
|
}
|