summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-03-03 09:12:48 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2023-03-03 09:12:48 +0000
commit11c2f3b08c3bab4718a97360d1502f90793d028b (patch)
tree2ae6e0dcd7283bfcabb76e1857108c60a649a8cc /scripts
parent829c7542e8927a832df7a39ef241882c39c93399 (diff)
downloadgitlab-ce-11c2f3b08c3bab4718a97360d1502f90793d028b.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/pipeline_test_report_builder.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/pipeline_test_report_builder.rb b/scripts/pipeline_test_report_builder.rb
index 15a78969266..c84acf2fd94 100755
--- a/scripts/pipeline_test_report_builder.rb
+++ b/scripts/pipeline_test_report_builder.rb
@@ -19,7 +19,7 @@ require_relative 'api/default_options'
# Push into expected format for failed tests
class PipelineTestReportBuilder
DEFAULT_OPTIONS = {
- target_project: Host::DEFAULT_OPTIONS[:target_project],
+ target_project: Host::DEFAULT_OPTIONS[:target_project] || API::DEFAULT_OPTIONS[:project],
current_pipeline_id: API::DEFAULT_OPTIONS[:pipeline_id],
mr_iid: Host::DEFAULT_OPTIONS[:mr_iid],
api_endpoint: API::DEFAULT_OPTIONS[:endpoint],