diff options
author | Rémy Coutable <remy@rymai.me> | 2016-06-17 15:10:06 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-06-17 15:10:06 +0000 |
commit | ae4491b42181f7195199fd6ac9273891d6e48263 (patch) | |
tree | fa23f3619c97fe12e6b3dc719202654d3f8d3f99 /spec/controllers/commit_controller_spec.rb | |
parent | 439e154c1d635128c23ca1bbb46be2225bb0b18c (diff) | |
parent | 6511b973e6a5d6cbdf8bab3b63be2692d95496de (diff) | |
download | gitlab-ce-ae4491b42181f7195199fd6ac9273891d6e48263.tar.gz |
Merge branch 'fix/error-when-job-variables-not-defined-but-specified' into 'master'
Fix error when CI job variables key used but not specified
## What does this MR do?
This MR fixes a an error when CI job variables specified, but not defined:
```yaml
image: ruby:2.2
test:
variables:
script:
- rspec
```
## What are the relevant issue numbers?
Closes #18764
Follow up discussion in: #18775
## Does this MR meet the acceptance criteria?
- [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added
- [x] Tests
- [x] Added for this feature/bug
- [x] All builds are passing
- [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides)
- [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)
See merge request !4745
Diffstat (limited to 'spec/controllers/commit_controller_spec.rb')
0 files changed, 0 insertions, 0 deletions