nwl-ci/jobs/Jenkinsfile_Seed

103 lines
2.2 KiB
Plaintext

pipelineJob('nwl') {
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)
}
definition {
cpsScm {
scm {
git {
branches('main')
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') {
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('main')
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') {
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('main')
extensions {
cloneOptions {
depth(1)
}
}
remote {
credentials('nmgit_credentials')
url('ssh://git@bitbucket.gad.local:7999/nm-nsp/nwl-ci.git')
}
}
scriptPath('jobs/Jenkinsfile_UpdateSrcRevisions')
}
}
}
}