This repository has been archived by the owner on May 10, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Promotions: Create example yaml files
- Loading branch information
1 parent
519139d
commit 4c5052c
Showing
4 changed files
with
57 additions
and
21 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
- promotion: | ||
name: '01. Stage Promotion' | ||
promotion_description: 'Describe the promotion process in play' | ||
job_type: promotion | ||
block_when_downstream_building: false # unless defined? false | ||
block_when_upstream_building: false # unless defined? false | ||
promotion_icon: 'silver' # defaults to gold, silver white blue green orange purple red | ||
promotion_conditions: # follow parameters | ||
- manual: | ||
users: 'authenticated' # || '' | ||
- self_promotion: | ||
even_if_unstable: true # unless defined? false | ||
- parameterized_self_promotion: | ||
parameter_name: 'SOME_ENV_VAR' | ||
parameter_value: true | ||
even_if_unstable: true # unless defined? false | ||
- downstream_pass: | ||
jobs: '{{name}}-Commit' | ||
even_if_unstable: true # unless defined? false | ||
- upstream_promotion: | ||
promotion_name: '01. Staging Promotion' | ||
build_steps: # follow builders | ||
- triggered_job: | ||
name: '{{name}}-Release' # maps to <projects> | ||
block_condition: # included in xml only if checked on UI | ||
build_step_failure_threshold: 'FAILURE' # 'FAILURE' # %s(never FAILURE UNSTABLE SUCCESS) | ||
failure_threshold: 'FAILURE' # || # %s(never FAILURE UNSTABLE SUCCESS) | ||
unstable_threshold: 'UNSTABLE' # || # %s(never FAILURE UNSTABLE SUCCESS) | ||
build_parameters: | ||
current: true # unless defined? false | ||
- keep_builds_forever: | ||
value: true |
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