Sha256: b7716be6f0953e61f27c37efb6c5fcd562145536dfc6ea32b0da95e3908de881

Contents?: true

Size: 759 Bytes

Versions: 26

Compression:

Stored size: 759 Bytes

Contents

module <%= gem_class_name %>
  class Vars
    # Interface method. Hash of properties to be stored
    # Usually available from env vars.
    # Provide as many CI system as possible.
    def data
      {
        build_system: "<%= name %>",
        host: ENV['REPLACE_ME'],
        full_repo: ENV['REPLACE_ME'],
        branch_name: ENV['REPLACE_ME'],
        # urls
        pr_url: ENV['REPLACE_ME'],
        build_url: ENV['REPLACE_ME'],
        # additional properties
        build_type: ENV['REPLACE_ME'],
        pr_number: ENV['REPLACE_ME'],
        sha: ENV['REPLACE_ME'],
        # additional properties
        commit_message: ENV['REPLACE_ME'],
        build_id: ENV['REPLACE_ME'],
        build_number: ENV['REPLACE_ME'],
      }
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
terraspace-2.2.17 lib/templates/plugin/ci/lib/%gem_name%/vars.rb.tt
terraspace-2.2.16 lib/templates/plugin/ci/lib/%gem_name%/vars.rb.tt
terraspace-2.2.15 lib/templates/plugin/ci/lib/%gem_name%/vars.rb.tt
terraspace-2.2.14 lib/templates/plugin/ci/lib/%gem_name%/vars.rb.tt
terraspace-2.2.13 lib/templates/plugin/ci/lib/%gem_name%/vars.rb.tt
terraspace-2.2.12 lib/templates/plugin/ci/lib/%gem_name%/vars.rb.tt
terraspace-2.2.11 lib/templates/plugin/ci/lib/%gem_name%/vars.rb.tt
terraspace-2.2.10 lib/templates/plugin/ci/lib/%gem_name%/vars.rb.tt
terraspace-2.2.9 lib/templates/plugin/ci/lib/%gem_name%/vars.rb.tt
terraspace-2.2.8 lib/templates/plugin/ci/lib/%gem_name%/vars.rb.tt
terraspace-2.2.7 lib/templates/plugin/ci/lib/%gem_name%/vars.rb.tt
terraspace-2.2.6 lib/templates/plugin/ci/lib/%gem_name%/vars.rb.tt
terraspace-2.2.5 lib/templates/plugin/ci/lib/%gem_name%/vars.rb.tt
terraspace-2.2.4 lib/templates/plugin/ci/lib/%gem_name%/vars.rb.tt
terraspace-2.2.3 lib/templates/plugin/ci/lib/%gem_name%/vars.rb.tt
terraspace-2.2.2 lib/templates/plugin/ci/lib/%gem_name%/vars.rb.tt
terraspace-2.2.1 lib/templates/plugin/ci/lib/%gem_name%/vars.rb.tt
terraspace-2.2.0 lib/templates/plugin/ci/lib/%gem_name%/vars.rb.tt
terraspace-2.1.7 lib/templates/plugin/ci/lib/%gem_name%/vars.rb.tt
terraspace-2.1.6 lib/templates/plugin/ci/lib/%gem_name%/vars.rb.tt