File tree Expand file tree Collapse file tree 3 files changed +13
-0
lines changed
main/groovy/javaposse/jobdsl/dsl/views
test/groovy/javaposse/jobdsl/dsl/views Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,8 @@ Browse the Jenkins issue tracker to see any [open issues](https://issues.jenkins
2727
2828## Release Notes
2929* 1.56 (unreleased)
30+ * Enhanced support for the [ Extra Columns Plugin] ( https://wiki.jenkins-ci.org/display/JENKINS/Extra+Columns+Plugin )
31+ ([ #978 ] ( https://github.com/jenkinsci/job-dsl-plugin/pull/978 ) )
3032* 1.55 (January 03 2016)
3133 * Updated optional
3234 [ Config File Provider Plugin] ( https://wiki.jenkins-ci.org/display/JENKINS/Config+File+Provider+Plugin ) dependency to
Original file line number Diff line number Diff line change @@ -277,4 +277,14 @@ class ColumnsContext extends AbstractExtensibleContext {
277277 triggerClass(' hudson.triggers.SCMTrigger' )
278278 }
279279 }
280+
281+ /**
282+ * Adds a column showing the type of source code management that is used in the project.
283+ *
284+ * @since 1.56
285+ */
286+ @RequiresPlugin (id = ' extra-columns' , minimumVersion = ' 1.4' )
287+ void scmType () {
288+ columnNodes << new Node (null , ' jenkins.plugins.extracolumns.SCMTypeColumn' )
289+ }
280290}
Original file line number Diff line number Diff line change @@ -638,6 +638,7 @@ class ListViewSpec<T extends ListView> extends Specification {
638638 ' userName' | ' UserNameColumn' | ' 1.16'
639639 ' lastConfigurationModification' | ' LastJobConfigurationModificationColumn' | ' 1.14'
640640 ' workspace' | ' WorkspaceColumn' | ' 1.15'
641+ ' scmType' | ' SCMTypeColumn' | ' 1.4'
641642 }
642643
643644 def ' build parameters column' () {
You can’t perform that action at this time.
0 commit comments