diff --git a/scripts/trigger-build b/scripts/trigger-build index 4534fcadebf..285f810c3c0 100755 --- a/scripts/trigger-build +++ b/scripts/trigger-build @@ -69,6 +69,7 @@ module Trigger def base_variables { 'TOP_UPSTREAM_TRIGGER_PROJECT' => ENV['TOP_UPSTREAM_TRIGGER_PROJECT'] || ENV['CI_PROJECT_PATH'], + 'TOP_UPSTREAM_SOURCE_SHA' => ENV['CI_COMMIT_SHA'], 'UPSTREAM_TRIGGER_PROJECT' => ENV['CI_PROJECT_PATH'], 'UPSTREAM_TRIGGER_SOURCE' => ENV['TRIGGER_SOURCE'], 'TRIGGERED_USER' => ENV['TRIGGERED_USER'] || ENV['GITLAB_USER_NAME'],