Compare commits
22 Commits
main
...
ansible-in
| Author | SHA1 | Date |
|---|---|---|
|
|
c258d09eb5 | |
|
|
3d3ed9bf9e | |
|
|
e2bf5b4140 | |
|
|
348149f6b1 | |
|
|
cccc0538a0 | |
|
|
7a103e7eae | |
|
|
57873d15cd | |
|
|
1e739d0817 | |
|
|
717b4ed219 | |
|
|
4f92abff9c | |
|
|
1100d2da3a | |
|
|
baa0da13a2 | |
|
|
49fcf8f854 | |
|
|
0d1367c06f | |
|
|
ff7b28774a | |
|
|
d57b6804d6 | |
|
|
225319fe69 | |
|
|
957dc52132 | |
|
|
0a2a6685ea | |
|
|
22b6e0adc4 | |
|
|
1f425845ad | |
|
|
6eef9775a3 |
|
|
@ -83,7 +83,7 @@ tool:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- script: >
|
- script: >
|
||||||
SEEDING_BRANCH = 'main'
|
SEEDING_BRANCH = 'ansible-instance'
|
||||||
|
|
||||||
freeStyleJob('Seed Job') {
|
freeStyleJob('Seed Job') {
|
||||||
scm {
|
scm {
|
||||||
|
|
@ -99,7 +99,7 @@ jobs:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
parameters {
|
parameters {
|
||||||
stringParam('SEEDING_BRANCH', 'main', "The branch to seed the jobs from, e.g. develop or main")
|
stringParam('SEEDING_BRANCH', 'ansible-instance', "The branch to seed the jobs from, e.g. develop or main")
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
shell('git checkout $SEEDING_BRANCH')
|
shell('git checkout $SEEDING_BRANCH')
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@ pipelineJob('nwl') {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
remote {
|
remote {
|
||||||
credentials('nmgit_credentials')
|
credentials('gitCredentials')
|
||||||
url('ssh://git@bitbucket.gad.local:7999/nm-nsp/nwl-ci.git')
|
url('ssh://git@bitbucket.gad.local:7999/nm-nsp/nwl-ci.git')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -69,7 +69,7 @@ pipelineJob('nwl-target') {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
remote {
|
remote {
|
||||||
credentials('nmgit_credentials')
|
credentials('gitCredentials')
|
||||||
url('ssh://git@bitbucket.gad.local:7999/nm-nsp/nwl-ci.git')
|
url('ssh://git@bitbucket.gad.local:7999/nm-nsp/nwl-ci.git')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -79,7 +79,6 @@ pipelineJob('nwl-target') {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
pipelineJob('nwl-update-src-rev') {
|
pipelineJob('nwl-update-src-rev') {
|
||||||
def branchToUse = binding.variables.get("SEEDING_BRANCH")
|
def branchToUse = binding.variables.get("SEEDING_BRANCH")
|
||||||
|
|
||||||
|
|
@ -106,7 +105,7 @@ pipelineJob('nwl-update-src-rev') {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
remote {
|
remote {
|
||||||
credentials('nmgit_credentials')
|
credentials('gitCredentials')
|
||||||
url('ssh://git@bitbucket.gad.local:7999/nm-nsp/nwl-ci.git')
|
url('ssh://git@bitbucket.gad.local:7999/nm-nsp/nwl-ci.git')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -115,3 +114,42 @@ pipelineJob('nwl-update-src-rev') {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pipelineJob('doc') {
|
||||||
|
def branchToUse = binding.variables.get("SEEDING_BRANCH")
|
||||||
|
|
||||||
|
displayName('Documentation')
|
||||||
|
description('Builds the Documentation of the work concerning NWL CI')
|
||||||
|
authorization {
|
||||||
|
permissionAll('anonymous')
|
||||||
|
}
|
||||||
|
authenticationToken('buildDocToken')
|
||||||
|
logRotator {
|
||||||
|
artifactDaysToKeep(7)
|
||||||
|
artifactNumToKeep(7)
|
||||||
|
daysToKeep(7)
|
||||||
|
numToKeep(7)
|
||||||
|
}
|
||||||
|
properties {
|
||||||
|
disableConcurrentBuilds()
|
||||||
|
}
|
||||||
|
definition {
|
||||||
|
cpsScm {
|
||||||
|
scm {
|
||||||
|
git {
|
||||||
|
branches(branchToUse)
|
||||||
|
extensions {
|
||||||
|
cloneOptions {
|
||||||
|
depth(1)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
remote {
|
||||||
|
credentials('gitCredentials')
|
||||||
|
url('ssh://git@bitbucket.gad.local:7999/nm-nsp/nwl-ci.git')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
scriptPath('jobs/Jenkinsfile_Documentation')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue