jobs/seed: set git credentials to admin_credentials and remove doc job

On the HAC instance, we currently do not want the documentation
job of the work of Marc Mattmueller, thus this job is removed.
Additionally the git credential ID differs between HAC- and ansible
instance. Therefore we set on this branch the credentials of the
HAC instance.

Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
This commit is contained in:
Marc Mattmüller 2023-08-28 14:01:35 +02:00
parent f2a6d85321
commit c582eb64d2
1 changed files with 2 additions and 39 deletions

View File

@ -22,7 +22,7 @@ pipelineJob('nwl') {
}
}
remote {
credentials('gitCredentials')
credentials('admin_credentials')
url('ssh://git@bitbucket.gad.local:7999/nm-nsp/nwl-ci.git')
}
}
@ -56,7 +56,7 @@ pipelineJob('nwl-target') {
}
}
remote {
credentials('gitCredentials')
credentials('admin_credentials')
url('ssh://git@bitbucket.gad.local:7999/nm-nsp/nwl-ci.git')
}
}
@ -65,40 +65,3 @@ 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')
}
}
}
}