Sha256: b3eacf9ef4fd629decf900a46622fef97a38e237682d4f15b2b27294e0f5e02a

Contents?: true

Size: 432 Bytes

Versions: 9

Compression:

Stored size: 432 Bytes

Contents

class BlockingDownstreamHelper < ExtensionHelper
  attr_reader :colors
  def initialize(params, builder)
    super params, builder, defaults
    @colors = {
      'SUCCESS' => { ordinal:  0, color:  'BLUE' },
      'FAILURE' => { ordinal:  2, color:  'RED' },
      'UNSTABLE' => { ordinal: 1, color: 'YELLOW' }
    }
  end

  def defaults
    {
      data: [{ params: '' }],
      trigger_with_no_parameters: false
    }
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
jenkins_pipeline_builder-0.15.3 lib/jenkins_pipeline_builder/extensions/helpers/builders/blocking_downstream_helper.rb
jenkins_pipeline_builder-0.15.2 lib/jenkins_pipeline_builder/extensions/helpers/builders/blocking_downstream_helper.rb
jenkins_pipeline_builder-0.15.1 lib/jenkins_pipeline_builder/extensions/helpers/builders/blocking_downstream_helper.rb
jenkins_pipeline_builder-0.14.0 lib/jenkins_pipeline_builder/extensions/helpers/builders/blocking_downstream_helper.rb
jenkins_pipeline_builder-0.13.4 lib/jenkins_pipeline_builder/extensions/helpers/builders/blocking_downstream_helper.rb
jenkins_pipeline_builder-0.13.3 lib/jenkins_pipeline_builder/extensions/helpers/builders/blocking_downstream_helper.rb
jenkins_pipeline_builder-0.13.2 lib/jenkins_pipeline_builder/extensions/helpers/builders/blocking_downstream_helper.rb
jenkins_pipeline_builder-0.13.1 lib/jenkins_pipeline_builder/extensions/helpers/builders/blocking_downstream_helper.rb
jenkins_pipeline_builder-0.13.0 lib/jenkins_pipeline_builder/extensions/helpers/builders/blocking_downstream_helper.rb