jobs/seed: added doc job and set git credentials for ansible instance
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
This commit is contained in:
parent
6eef9775a3
commit
1f425845ad
|
|
@ -22,7 +22,7 @@ pipelineJob('nwl') {
|
|||
}
|
||||
}
|
||||
remote {
|
||||
credentials('nmgit_credentials')
|
||||
credentials('gitCredentials')
|
||||
url('ssh://git@bitbucket.gad.local:7999/nm-nsp/nwl-ci.git')
|
||||
}
|
||||
}
|
||||
|
|
@ -56,7 +56,7 @@ pipelineJob('nwl-target') {
|
|||
}
|
||||
}
|
||||
remote {
|
||||
credentials('nmgit_credentials')
|
||||
credentials('gitCredentials')
|
||||
url('ssh://git@bitbucket.gad.local:7999/nm-nsp/nwl-ci.git')
|
||||
}
|
||||
}
|
||||
|
|
@ -65,3 +65,40 @@ pipelineJob('nwl-target') {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
pipelineJob('doc') {
|
||||
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('main')
|
||||
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