Created
June 7, 2018 04:42
-
-
Save bdpiprava/1bbb19d31e5aa91d206728267ecd3930 to your computer and use it in GitHub Desktop.
Group by env
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
<pipelines group="TeamA"> | |
<authorization> | |
<view> | |
<user>view</user> | |
</view> | |
<admins> | |
<user>operate</user> | |
</admins> | |
</authorization> | |
<pipeline name="Foo-PR" template="base"> | |
<materials> | |
<git url="test-repo" /> | |
</materials> | |
</pipeline> | |
<pipeline name="Foo-QA" template="base"> | |
<materials> | |
<git url="test-repo" /> | |
</materials> | |
</pipeline> | |
<pipeline name="Foo-PROD" template="base"> | |
<materials> | |
<git url="test-repo" /> | |
</materials> | |
</pipeline> | |
</pipelines> | |
<pipelines group="TeamB"> | |
<authorization> | |
<view> | |
<user>view</user> | |
</view> | |
<admins> | |
<user>operate</user> | |
</admins> | |
</authorization> | |
<pipeline name="Bar-PR" template="base"> | |
<materials> | |
<git url="test-repo" /> | |
</materials> | |
</pipeline> | |
<pipeline name="Bar-QA" template="base"> | |
<materials> | |
<git url="test-repo" /> | |
</materials> | |
</pipeline> | |
<pipeline name="Bar-PROD" template="base"> | |
<materials> | |
<git url="test-repo" /> | |
</materials> | |
</pipeline> | |
<pipeline name="Baz-PR" template="base"> | |
<materials> | |
<git url="test-repo" /> | |
</materials> | |
</pipeline> | |
<pipeline name="Baz-QA" template="base"> | |
<materials> | |
<git url="tesz-repo" /> | |
</materials> | |
</pipeline> | |
<pipeline name="Baz-PROD" template="base"> | |
<materials> | |
<git url="test-repo" /> | |
</materials> | |
</pipeline> | |
</pipelines> | |
<templates> | |
<pipeline name="base"> | |
<stage name="up42_stage"> | |
<jobs> | |
<job name="up42_job"> | |
<tasks> | |
<exec command="ls" /> | |
</tasks> | |
</job> | |
</jobs> | |
</stage> | |
</pipeline> | |
</templates> | |
<environments> | |
<environment name="Dev"> | |
<pipelines> | |
<pipeline name="Bar-PR" /> | |
<pipeline name="Baz-PR" /> | |
<pipeline name="Foo-PR" /> | |
</pipelines> | |
</environment> | |
<environment name="QA"> | |
<pipelines> | |
<pipeline name="Bar-QA" /> | |
<pipeline name="Baz-QA" /> | |
<pipeline name="Foo-QA" /> | |
</pipelines> | |
</environment> | |
<environment name="PROD"> | |
<pipelines> | |
<pipeline name="Bar-PROD" /> | |
<pipeline name="Baz-PROD" /> | |
<pipeline name="Foo-PROD" /> | |
</pipelines> | |
</environment> | |
</environments> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment