Sha256: 759b0c22b9b5366af7a03003626358d2a8361af8762c35cf8b534acbf5d5eb0b
Contents?: true
Size: 337 Bytes
Versions: 61
Compression:
Stored size: 337 Bytes
Contents
# frozen_string_literal: true module Buildkite module Pipelines module Helpers module Skip # A helper method to see if the step is skipped. # Skipped steps are `true` or a non-empty string. def skipped? get(:skip) != false && !get(:skip).to_s.empty? end end end end end
Version data entries
61 entries across 61 versions & 1 rubygems
Version | Path |
---|---|
buildkite-builder-1.0.0.beta.1 | lib/buildkite/pipelines/helpers/skip.rb |