diff options
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 093218a74d6..841ad90a9cc 100644 --- a/app/models/ci/build.rb +++ b/app/models/ci/build.rb @@ -193,7 +193,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 |