diff options
Diffstat (limited to 'scripts/generate-e2e-pipeline')
-rwxr-xr-x | scripts/generate-e2e-pipeline | 6 |
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" |