validate_paths

in lib/jenkinsfile_runner/base_configuration.rb [72:82]


    def validate_paths(attributes)
      attributes.inject([]) do |memo, attr|
        value = value_for(attr)
        next memo unless value

        value = Pathname(value).expand_path
        memo << [attr, "#{value} does not exist"] unless value.exist?
        memo
      end
    end