forked from tomzo/gocd-yaml-config-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.
Preserve order of pipelines from YAML when converting to JSON
Fixes tomzo#4 Changed to use recent release of EsotericSoftware's yamlbeans, rather than the old sanjusoftware fork. This reads yaml mappings into LinkedHashMap, which preserves ordering. (It also opens the door for supporting YAML merge key syntax - issue tomzo#55)
- Loading branch information
1 parent
a944591
commit c8f0cd4
Showing
6 changed files
with
50 additions
and
9 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
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
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
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
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
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 @@ | ||
environments: | ||
env1: | ||
pipelines: | ||
- pipe1 | ||
|
||
pipelines: | ||
pipe1: | ||
group: simple | ||
materials: | ||
mygit: | ||
stages: | ||
- null | ||
pipe2: | ||
group: simple | ||
materials: | ||
mygit: | ||
stages: | ||
- null | ||
pipe3: | ||
group: simple | ||
materials: | ||
mygit: | ||
stages: | ||
- null |