Add missing values to linter

This commit is contained in:
Katarzyna Kobierska 2016-09-09 10:51:44 +02:00
parent f80e768323
commit 375072aa27
2 changed files with 6 additions and 1 deletions

View file

@ -21,7 +21,7 @@
%br %br
%b Tag list: %b Tag list:
= build[:tags] = build[:tag_list]
%br %br
%b Refs only: %b Refs only:
= build[:only] && build[:only].join(", ") = build[:only] && build[:only].join(", ")
@ -29,6 +29,9 @@
%b Refs except: %b Refs except:
= build[:except] && build[:except].join(", ") = build[:except] && build[:except].join(", ")
%br %br
%b Environment:
= build[:environment]
%br
%b When: %b When:
= build[:when] = build[:when]
- if build[:allow_failure] - if build[:allow_failure]

View file

@ -59,6 +59,8 @@ module Ci
tag_list: job[:tags] || [], tag_list: job[:tags] || [],
name: job[:name].to_s, name: job[:name].to_s,
allow_failure: job[:allow_failure] || false, allow_failure: job[:allow_failure] || false,
only: job[:only],
except: job[:except],
when: job[:when] || 'on_success', when: job[:when] || 'on_success',
environment: job[:environment_name], environment: job[:environment_name],
yaml_variables: yaml_variables(name), yaml_variables: yaml_variables(name),