Sha256: d0ca2972b18efb64be3ba3c796aab8e60fe9ab25b1d225be07579e869fe90a57

Contents?: true

Size: 434 Bytes

Versions: 7

Compression:

Stored size: 434 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

7 entries across 7 versions & 1 rubygems

Version Path
jenkins_pipeline_builder-0.12.3 lib/jenkins_pipeline_builder/extensions/helpers/builders/blocking_downstream_helper.rb
jenkins_pipeline_builder-0.12.2 lib/jenkins_pipeline_builder/extensions/helpers/builders/blocking_downstream_helper.rb
jenkins_pipeline_builder-0.12.1 lib/jenkins_pipeline_builder/extensions/helpers/builders/blocking_downstream_helper.rb
jenkins_pipeline_builder-0.12.0 lib/jenkins_pipeline_builder/extensions/helpers/builders/blocking_downstream_helper.rb
jenkins_pipeline_builder-0.11.2 lib/jenkins_pipeline_builder/extensions/helpers/builders/blocking_downstream_helper.rb
jenkins_pipeline_builder-0.11.1 lib/jenkins_pipeline_builder/extensions/helpers/builders/blocking_downstream_helper.rb
jenkins_pipeline_builder-0.11.0 lib/jenkins_pipeline_builder/extensions/helpers/builders/blocking_downstream_helper.rb