diff --git a/jenkins.yml b/jenkins.yml index 44d0a32..bbabd11 100644 --- a/jenkins.yml +++ b/jenkins.yml @@ -120,3 +120,22 @@ jobs: } } } + - script: > + folder('jenkins') { + displayName: 'jenkins' + } + - script: > + multibranchPipelineJob('jenkins/auto-maintenance') { + displayName: 'auto-maintenance' + branchSources { + git { + id('git') + remote('https://github.com/Retropikzel/jenkins-automaintenance.git') + } + } + orphanedItemStrategy { + discardOldItems { + numToKeep(10) + } + } + }