forked from jenkinsci/job-dsl-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
199 additions
and
167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
...rc/test/resources/javaposse/jobdsl/dsl/views/SectionedViewSpec-complexListViewSection.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<hudson.plugins.sectioned__view.SectionedView> | ||
<filterExecutors>false</filterExecutors> | ||
<filterQueue>false</filterQueue> | ||
<properties class='hudson.model.View$PropertyList'/> | ||
<sections> | ||
<hudson.plugins.sectioned__view.ListViewSection> | ||
<jobNames> | ||
<comparator class='hudson.util.CaseInsensitiveComparator'/> | ||
<string>foo</string> | ||
</jobNames> | ||
<jobFilters> | ||
<hudson.views.JobStatusFilter> | ||
<includeExcludeTypeString>includeMatched</includeExcludeTypeString> | ||
<unstable>true</unstable> | ||
<failed>false</failed> | ||
<aborted>false</aborted> | ||
<disabled>false</disabled> | ||
<stable>false</stable> | ||
</hudson.views.JobStatusFilter> | ||
</jobFilters> | ||
<name>test</name> | ||
<includeRegex>test-.*</includeRegex> | ||
<width>HALF</width> | ||
<alignment>LEFT</alignment> | ||
<columns> | ||
<hudson.views.StatusColumn/> | ||
<hudson.views.JobColumn/> | ||
</columns> | ||
</hudson.plugins.sectioned__view.ListViewSection> | ||
</sections> | ||
</hudson.plugins.sectioned__view.SectionedView> |
19 changes: 19 additions & 0 deletions
19
...re/src/test/resources/javaposse/jobdsl/dsl/views/SectionedViewSpec-complexTextSection.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<hudson.plugins.sectioned__view.SectionedView> | ||
<filterExecutors>false</filterExecutors> | ||
<filterQueue>false</filterQueue> | ||
<properties class='hudson.model.View$PropertyList'/> | ||
<sections> | ||
<hudson.plugins.sectioned__view.TextSection> | ||
<jobNames> | ||
<comparator class='hudson.util.CaseInsensitiveComparator'/> | ||
</jobNames> | ||
<jobFilters/> | ||
<name>test</name> | ||
<width>FULL</width> | ||
<alignment>CENTER</alignment> | ||
<text>lorem ipsum</text> | ||
<style>INFO</style> | ||
</hudson.plugins.sectioned__view.TextSection> | ||
</sections> | ||
</hudson.plugins.sectioned__view.SectionedView> |
24 changes: 24 additions & 0 deletions
24
...rc/test/resources/javaposse/jobdsl/dsl/views/SectionedViewSpec-complexViewListSection.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<hudson.plugins.sectioned__view.SectionedView> | ||
<filterExecutors>false</filterExecutors> | ||
<filterQueue>false</filterQueue> | ||
<properties class='hudson.model.View$PropertyList'/> | ||
<sections> | ||
<hudson.plugins.sectioned__view.ViewListingSection> | ||
<jobNames> | ||
<comparator class='hudson.util.CaseInsensitiveComparator'/> | ||
</jobNames> | ||
<jobFilters/> | ||
<name>test</name> | ||
<width>FULL</width> | ||
<alignment>CENTER</alignment> | ||
<views> | ||
<string>view-a</string> | ||
<string>view-b</string> | ||
<string>view-c</string> | ||
<string>view-d</string> | ||
</views> | ||
<columns>2</columns> | ||
</hudson.plugins.sectioned__view.ViewListingSection> | ||
</sections> | ||
</hudson.plugins.sectioned__view.SectionedView> |
7 changes: 7 additions & 0 deletions
7
job-dsl-core/src/test/resources/javaposse/jobdsl/dsl/views/SectionedViewSpec-defaults.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<hudson.plugins.sectioned__view.SectionedView> | ||
<filterExecutors>false</filterExecutors> | ||
<filterQueue>false</filterQueue> | ||
<properties class="hudson.model.View$PropertyList"/> | ||
<sections/> | ||
</hudson.plugins.sectioned__view.SectionedView> |
17 changes: 17 additions & 0 deletions
17
...c/test/resources/javaposse/jobdsl/dsl/views/SectionedViewSpec-minimalJobGraphsSection.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<hudson.plugins.sectioned__view.SectionedView> | ||
<filterExecutors>false</filterExecutors> | ||
<filterQueue>false</filterQueue> | ||
<properties class='hudson.model.View$PropertyList'/> | ||
<sections> | ||
<hudson.plugins.sectioned__view.JobGraphsSection> | ||
<jobNames> | ||
<comparator class='hudson.util.CaseInsensitiveComparator'/> | ||
</jobNames> | ||
<jobFilters/> | ||
<name>test</name> | ||
<width>FULL</width> | ||
<alignment>CENTER</alignment> | ||
</hudson.plugins.sectioned__view.JobGraphsSection> | ||
</sections> | ||
</hudson.plugins.sectioned__view.SectionedView> |
18 changes: 18 additions & 0 deletions
18
...rc/test/resources/javaposse/jobdsl/dsl/views/SectionedViewSpec-minimalListViewSection.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<hudson.plugins.sectioned__view.SectionedView> | ||
<filterExecutors>false</filterExecutors> | ||
<filterQueue>false</filterQueue> | ||
<properties class='hudson.model.View$PropertyList'/> | ||
<sections> | ||
<hudson.plugins.sectioned__view.ListViewSection> | ||
<jobNames> | ||
<comparator class='hudson.util.CaseInsensitiveComparator'/> | ||
</jobNames> | ||
<jobFilters/> | ||
<name>test</name> | ||
<width>FULL</width> | ||
<alignment>CENTER</alignment> | ||
<columns/> | ||
</hudson.plugins.sectioned__view.ListViewSection> | ||
</sections> | ||
</hudson.plugins.sectioned__view.SectionedView> |
17 changes: 17 additions & 0 deletions
17
.../test/resources/javaposse/jobdsl/dsl/views/SectionedViewSpec-minimalTestResultSection.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<hudson.plugins.sectioned__view.SectionedView> | ||
<filterExecutors>false</filterExecutors> | ||
<filterQueue>false</filterQueue> | ||
<properties class='hudson.model.View$PropertyList'/> | ||
<sections> | ||
<hudson.plugins.sectioned__view.TestResultViewSection> | ||
<jobNames> | ||
<comparator class='hudson.util.CaseInsensitiveComparator'/> | ||
</jobNames> | ||
<jobFilters/> | ||
<name>test</name> | ||
<width>FULL</width> | ||
<alignment>CENTER</alignment> | ||
</hudson.plugins.sectioned__view.TestResultViewSection> | ||
</sections> | ||
</hudson.plugins.sectioned__view.SectionedView> |
Oops, something went wrong.