From e59f041be35ffa73d94359166053e14303d496b4 Mon Sep 17 00:00:00 2001 From: Sergey Lebedev Date: Mon, 18 May 2020 14:51:40 +0300 Subject: [PATCH] Added missing 'Favorite' column for views Plugin home - https://plugins.jenkins.io/favorite/ Change-Id: Ibfaf64721fa25c19812c90c79d12ab82b31451aa --- jenkins_jobs/modules/view_list.py | 1 + tests/views/fixtures/view_list001.xml | 1 + tests/views/fixtures/view_list001.yaml | 1 + 3 files changed, 3 insertions(+) diff --git a/jenkins_jobs/modules/view_list.py b/jenkins_jobs/modules/view_list.py index 5c1e1e5f0..68e494603 100644 --- a/jenkins_jobs/modules/view_list.py +++ b/jenkins_jobs/modules/view_list.py @@ -239,6 +239,7 @@ COLUMN_DICT = { "find-bugs": "hudson.plugins.findbugs.FindBugsColumn", "jacoco": "hudson.plugins.jacococoveragecolumn.JaCoCoColumn", "git-branch": "hudson.plugins.git.GitBranchSpecifierColumn", + "favorite": "hudson.plugins.favorite.column.FavoriteColumn", "schedule-build": "org.jenkinsci.plugins.schedulebuild.ScheduleBuildButtonColumn", "priority-sorter": "jenkins.advancedqueue.PrioritySorterJobColumn", "build-filter": "hudson.views.BuildFilterColumn", diff --git a/tests/views/fixtures/view_list001.xml b/tests/views/fixtures/view_list001.xml index 5f8e1804f..2b89a3785 100644 --- a/tests/views/fixtures/view_list001.xml +++ b/tests/views/fixtures/view_list001.xml @@ -26,6 +26,7 @@ + diff --git a/tests/views/fixtures/view_list001.yaml b/tests/views/fixtures/view_list001.yaml index 5ce9f0fcb..6316b89bb 100644 --- a/tests/views/fixtures/view_list001.yaml +++ b/tests/views/fixtures/view_list001.yaml @@ -21,6 +21,7 @@ columns: - find-bugs - jacoco - git-branch + - favorite - schedule-build - priority-sorter - build-filter