diff --git a/scripts/trigger-build.rb b/scripts/trigger-build.rb index 17cbd91a8eeff6755fbaf4cc7afc9df4d366f83c..a3356c664d19d33a55af2051bb83c074eb07d5bd 100755 --- a/scripts/trigger-build.rb +++ b/scripts/trigger-build.rb @@ -324,8 +324,8 @@ def self.access_token def invoke!(post_comment: false, downstream_job_name: nil) pipeline = super gitlab = gitlab_client(:upstream) - project_path = base_variables['TOP_UPSTREAM_SOURCE_PROJECT'] - merge_request_id = base_variables['TOP_UPSTREAM_MERGE_REQUEST_IID'] + project_path = variables['TOP_UPSTREAM_SOURCE_PROJECT'] + merge_request_id = variables['TOP_UPSTREAM_MERGE_REQUEST_IID'] comment = "<!-- #{IDENTIFIABLE_NOTE_TAG} --> \nStarted database testing [pipeline](https://ops.gitlab.net/#{downstream_project_path}/-/pipelines/#{pipeline.id}) " \ "(limited access). This comment will be updated once the pipeline has finished running."