diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-07-01 15:23:09 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-07-05 18:36:19 +0900 |
commit | 23f3c7335549861f4064e4b3696cc9de18ba8c96 (patch) | |
tree | 69562daa41a820e8c0993d0319accc3a9fcb2fa7 /app | |
parent | 9fe7f0c706818ae07b188d4efdd00aaeae74139f (diff) | |
download | gitlab-ce-23f3c7335549861f4064e4b3696cc9de18ba8c96.tar.gz |
Fix spec
Diffstat (limited to 'app')
-rw-r--r-- | app/models/ci/build.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/ci/build.rb b/app/models/ci/build.rb index 77f56d1b27d..6c5b27a7ac5 100644 --- a/app/models/ci/build.rb +++ b/app/models/ci/build.rb @@ -196,7 +196,7 @@ module Ci variables += user_variables variables += project.secret_variables_for(ref).map(&:to_runner_variable) variables += trigger_request.user_variables if trigger_request - variables += pipeline.pipeline_schedule&.job_variables + variables += pipeline.pipeline_schedule.job_variables if pipeline.pipeline_schedule variables end |