Sha256: c9fe98202c392049356444c0bac7d9eda541e3149022bdb718d87f2ada14fe9b

Contents?: true

Size: 1.39 KB

Versions: 18

Compression:

Stored size: 1.39 KB

Contents

- promotion:
    name: '{{name}} Stage Promotion'
    promotion_description: 'Describe the promotion process in play'
    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: '{{name}}-10-Commit'
          even_if_unstable: true # unless defined? false
      - upstream_promotion:
          promotion_name: '{{name}} Staging Promotion'
    build_steps: # follow builders
      - triggered_job:
          name: '{{name}}-30-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

Version data entries

18 entries across 18 versions & 1 rubygems

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