Sha256: 0899ed85e5ff73ba0a25f83fdfb99212e88f21588fb52b0aa772cb888d97a823

Contents?: true

Size: 454 Bytes

Versions: 18

Compression:

Stored size: 454 Bytes

Contents

class BlockingDownstreamHelper < ExtensionHelper
  attr_reader :colors
  def initialize(extension, params, builder)
    super extension, 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

18 entries across 18 versions & 1 rubygems

Version Path
jenkins_pipeline_builder-1.10.0 lib/jenkins_pipeline_builder/extensions/helpers/builders/blocking_downstream_helper.rb
jenkins_pipeline_builder-1.9.1 lib/jenkins_pipeline_builder/extensions/helpers/builders/blocking_downstream_helper.rb
jenkins_pipeline_builder-1.9.0 lib/jenkins_pipeline_builder/extensions/helpers/builders/blocking_downstream_helper.rb
jenkins_pipeline_builder-1.8.0 lib/jenkins_pipeline_builder/extensions/helpers/builders/blocking_downstream_helper.rb
jenkins_pipeline_builder-1.7.0 lib/jenkins_pipeline_builder/extensions/helpers/builders/blocking_downstream_helper.rb
jenkins_pipeline_builder-1.5.0 lib/jenkins_pipeline_builder/extensions/helpers/builders/blocking_downstream_helper.rb
jenkins_pipeline_builder-1.3.0 lib/jenkins_pipeline_builder/extensions/helpers/builders/blocking_downstream_helper.rb
jenkins_pipeline_builder-1.2.1 lib/jenkins_pipeline_builder/extensions/helpers/builders/blocking_downstream_helper.rb
jenkins_pipeline_builder-1.2.0 lib/jenkins_pipeline_builder/extensions/helpers/builders/blocking_downstream_helper.rb
jenkins_pipeline_builder-1.1.5 lib/jenkins_pipeline_builder/extensions/helpers/builders/blocking_downstream_helper.rb
jenkins_pipeline_builder-1.1.4 lib/jenkins_pipeline_builder/extensions/helpers/builders/blocking_downstream_helper.rb
jenkins_pipeline_builder-1.1.3 lib/jenkins_pipeline_builder/extensions/helpers/builders/blocking_downstream_helper.rb
jenkins_pipeline_builder-1.1.2 lib/jenkins_pipeline_builder/extensions/helpers/builders/blocking_downstream_helper.rb
jenkins_pipeline_builder-1.1.0 lib/jenkins_pipeline_builder/extensions/helpers/builders/blocking_downstream_helper.rb
jenkins_pipeline_builder-1.0.0 lib/jenkins_pipeline_builder/extensions/helpers/builders/blocking_downstream_helper.rb
jenkins_pipeline_builder-0.16.3 lib/jenkins_pipeline_builder/extensions/helpers/builders/blocking_downstream_helper.rb
jenkins_pipeline_builder-0.16.2 lib/jenkins_pipeline_builder/extensions/helpers/builders/blocking_downstream_helper.rb
jenkins_pipeline_builder-0.16.0 lib/jenkins_pipeline_builder/extensions/helpers/builders/blocking_downstream_helper.rb