setup nested views
This commit is contained in:
Родитель
5dddb96bbe
Коммит
10e169519a
|
@ -42,8 +42,9 @@ dependencies {
|
|||
testCompile 'org.jenkins-ci.plugins:structs:1.6@jar'
|
||||
|
||||
// plugins to install in test instance
|
||||
testPlugins 'org.jenkins-ci.plugins:ghprb:1.31.4'
|
||||
testPlugins 'com.coravy.hudson.plugins.github:github:1.19.0'
|
||||
testPlugins "org.jenkins-ci.plugins:ghprb:${gitHubPullRequestPluginVersion}"
|
||||
testPlugins "org.jenkins-ci.plugins:nested-view:${nestedViewPluginVersion}"
|
||||
testPlugins "com.coravy.hudson.plugins.github:github:${gitHubPluginVersion}"
|
||||
}
|
||||
|
||||
task resolveTestPlugins(type: Copy) {
|
||||
|
|
|
@ -1,2 +1,5 @@
|
|||
jobDslVersion=1.71
|
||||
jenkinsVersion=2.162
|
||||
jobDslVersion=1.71
|
||||
gitHubPluginVersion=1.19.0
|
||||
gitHubPullRequestPluginVersion=1.31.4
|
||||
nestedViewPluginVersion=1.17
|
||||
|
|
|
@ -1,12 +1,50 @@
|
|||
/**
|
||||
* Jenkins DSL for Steeltoe view.
|
||||
/*
|
||||
* Jenkins DSL for Steeltoe views.
|
||||
*/
|
||||
|
||||
listView('Steeltoe') {
|
||||
nestedView('Steeltoe') {
|
||||
views {
|
||||
listView('Steeltoe Samples') {
|
||||
jobs {
|
||||
regex(/^steeltoe-.+/)
|
||||
regex(/^steeltoe-samples-.+/)
|
||||
}
|
||||
columns {
|
||||
columns defaultColumns()
|
||||
}
|
||||
listView('Steeltoe Samples: Configuration') {
|
||||
jobs {
|
||||
regex(/^steeltoe-samples-configuration-.+/)
|
||||
}
|
||||
columns defaultColumns()
|
||||
}
|
||||
listView('Steeltoe Samples: Connectors') {
|
||||
jobs {
|
||||
regex(/^steeltoe-samples-connectors-.+/)
|
||||
}
|
||||
columns defaultColumns()
|
||||
}
|
||||
listView('Steeltoe Samples: Management') {
|
||||
jobs {
|
||||
regex(/^steeltoe-samples-management-.+/)
|
||||
}
|
||||
columns defaultColumns()
|
||||
}
|
||||
listView('Steeltoe Samples: Security') {
|
||||
jobs {
|
||||
regex(/^steeltoe-samples-security-.+/)
|
||||
}
|
||||
columns defaultColumns()
|
||||
}
|
||||
listView('Steeltoe Jenkins Seed') {
|
||||
jobs {
|
||||
regex(/^steeltoe-seed$/)
|
||||
}
|
||||
columns defaultColumns()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private Closure defaultColumns() {
|
||||
return {
|
||||
weather()
|
||||
status()
|
||||
name()
|
||||
|
|
Загрузка…
Ссылка в новой задаче