From c582eb64d26f39c629abd75940eace64253a2ae2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Mattm=C3=BCller?= Date: Mon, 28 Aug 2023 14:01:35 +0200 Subject: [PATCH] jobs/seed: set git credentials to admin_credentials and remove doc job MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- jobs/Jenkinsfile_Seed | 41 ++--------------------------------------- 1 file changed, 2 insertions(+), 39 deletions(-) diff --git a/jobs/Jenkinsfile_Seed b/jobs/Jenkinsfile_Seed index 5f4ba1b..cee536c 100644 --- a/jobs/Jenkinsfile_Seed +++ b/jobs/Jenkinsfile_Seed @@ -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') - } - } - } -} \ No newline at end of file