Commit 7183fac8 authored by Stan Hu's avatar Stan Hu

Resolve conflict in app/models/ci/build.rb

parent 4d8df34a
......@@ -576,15 +576,9 @@ module Ci
def persisted_environment_variables
Gitlab::Ci::Variables::Collection.new.tap do |variables|
return variables unless persisted_environment
<<<<<<< HEAD
variables.concat(persisted_environment.predefined_variables)
=======
variables.concat(persisted_environment.predefined_variables)
>>>>>>> upstream/master
# Here we're passing unexpanded environment_url for runner to expand,
# and we need to make sure that CI_ENVIRONMENT_NAME and
# CI_ENVIRONMENT_SLUG so on are available for the URL be expanded.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment