From 616f435e2e9491d3c63a9cbd3dd3d30fb4056286 Mon Sep 17 00:00:00 2001 From: Igor Chudov Date: Tue, 8 Oct 2019 13:07:09 +0400 Subject: [PATCH] Dynamically add Samba jobs to views --- configure_jenkins.groovy | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/configure_jenkins.groovy b/configure_jenkins.groovy index 17e3255..1706533 100644 --- a/configure_jenkins.groovy +++ b/configure_jenkins.groovy @@ -32,17 +32,24 @@ folder('samba') { buildButton() } jobs { - name('jenkins-krb5-sisyphus-1x1') - name('jenkins-samba-1x3') - name('jenkins-samba-2x2') - name('jenkins-samba-3x3') - name('jenkins-samba-8sp-1x3-pub') - name('jenkins-samba-8sp-3x3-pub') - name('jenkins-samba-9-3x3-pub') - name('jenkins-samba-sisyphus-1x3') - name('jenkins-samba-sisyphus-1x3-pub') - name('jenkins-samba-sisyphus-3x3') - name('jenkins-samba-sisyphus-3x3-pub') + stackSamba.each { stack -> + name(stack) + } + } + } + listView('Kerberos stacks') { + description('Kerberos stacks') + filterBuildQueue() + filterExecutors() + columns { + status() + name() + buildButton() + } + jobs { + stackKerberos.each { stack -> + name(stack) + } } } }