Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/generate-e2e-pipeline')
-rwxr-xr-xscripts/generate-e2e-pipeline6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/generate-e2e-pipeline b/scripts/generate-e2e-pipeline
index 2b882094dc2..31a3122050a 100755
--- a/scripts/generate-e2e-pipeline
+++ b/scripts/generate-e2e-pipeline
@@ -56,7 +56,11 @@ echo "***Saving generated qa pipeline files***"
for key in "${!qa_pipelines[@]}"; do
echo "Generating $key"
- cp ".gitlab/ci/${qa_pipelines[$key]}" "$key"
+ if [ "${CI_PROJECT_NAMESPACE}" = "gitlab-cn" ]; then
+ cp "jh/.gitlab/ci/${qa_pipelines[$key]}" "$key"
+ else
+ cp ".gitlab/ci/${qa_pipelines[$key]}" "$key"
+ fi
echo >>"$key" # add empty line so it's easier to read if debugging
echo "$variables" >>"$key"