diff --git a/jobs/Jenkinsfile_Seed b/jobs/Jenkinsfile_Seed index 45ec4e4..2e96386 100644 --- a/jobs/Jenkinsfile_Seed +++ b/jobs/Jenkinsfile_Seed @@ -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') + } + } + } +}