Sha256: 0c0167e8b190ce6f595080f80d871e7ff8ed31aa942e955d888b09f0b536c1ad

Contents?: true

Size: 1.38 KB

Versions: 18

Compression:

Stored size: 1.38 KB

Contents

- promotion:
    name: '01. Stage 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
    icon: 'Gold star' # || 'Silver star'
    promotion_conditions: # follow parameters
      - manual:
          users: 'authorized' # || ''
      - 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: '{{Example}}-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)
          use_current_build_params: true # unless defined? false
      - keep_builds_forever:
          value: true

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
jenkins_pipeline_builder-1.10.0 spec/lib/jenkins_pipeline_builder/fixtures/promotions_test/sample_promotion.yaml
jenkins_pipeline_builder-1.9.1 spec/lib/jenkins_pipeline_builder/fixtures/promotions_test/sample_promotion.yaml
jenkins_pipeline_builder-1.9.0 spec/lib/jenkins_pipeline_builder/fixtures/promotions_test/sample_promotion.yaml
jenkins_pipeline_builder-1.8.0 spec/lib/jenkins_pipeline_builder/fixtures/promotions_test/sample_promotion.yaml
jenkins_pipeline_builder-1.7.0 spec/lib/jenkins_pipeline_builder/fixtures/promotions_test/sample_promotion.yaml
jenkins_pipeline_builder-1.5.0 spec/lib/jenkins_pipeline_builder/fixtures/promotions_test/sample_promotion.yaml
jenkins_pipeline_builder-1.3.0 spec/lib/jenkins_pipeline_builder/fixtures/promotions_test/sample_promotion.yaml
jenkins_pipeline_builder-1.2.1 spec/lib/jenkins_pipeline_builder/fixtures/promotions_test/sample_promotion.yaml
jenkins_pipeline_builder-1.2.0 spec/lib/jenkins_pipeline_builder/fixtures/promotions_test/sample_promotion.yaml
jenkins_pipeline_builder-1.1.5 spec/lib/jenkins_pipeline_builder/fixtures/promotions_test/sample_promotion.yaml
jenkins_pipeline_builder-1.1.4 spec/lib/jenkins_pipeline_builder/fixtures/promotions_test/sample_promotion.yaml
jenkins_pipeline_builder-1.1.3 spec/lib/jenkins_pipeline_builder/fixtures/promotions_test/sample_promotion.yaml
jenkins_pipeline_builder-1.1.2 spec/lib/jenkins_pipeline_builder/fixtures/promotions_test/sample_promotion.yaml
jenkins_pipeline_builder-1.1.0 spec/lib/jenkins_pipeline_builder/fixtures/promotions_test/sample_promotion.yaml
jenkins_pipeline_builder-1.0.0 spec/lib/jenkins_pipeline_builder/fixtures/promotions_test/sample_promotion.yaml
jenkins_pipeline_builder-0.16.3 spec/lib/jenkins_pipeline_builder/fixtures/promotions_test/sample_promotion.yaml
jenkins_pipeline_builder-0.16.2 spec/lib/jenkins_pipeline_builder/fixtures/promotions_test/sample_promotion.yaml
jenkins_pipeline_builder-0.16.0 spec/lib/jenkins_pipeline_builder/fixtures/promotions_test/sample_promotion.yaml