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

View File

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