File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -102,19 +102,19 @@ GITLAB_GITOPS=$TMP_REPOS/gitlab-gitops
102
102
JENKINS_BUILD=$TMP_REPOS /jenkins-build
103
103
JENKINS_GITOPS=$TMP_REPOS /jenkins-gitops
104
104
105
- # Avoid messing with your real $HOME/.gitconfig when running locally
106
- if [ -n " $LOCAL_SHELL_RUN " ]; then
107
- export GIT_CONFIG_GLOBAL=$( pwd) /$TMP_REPOS /.gitconfig
108
- echo GIT_CONFIG_GLOBAL=$GIT_CONFIG_GLOBAL
109
- fi
110
-
111
105
cloneRepo $UPSTREAM_BUILD_REPO ${TEST_BUILD_REPO_SSH:- $TEST_BUILD_REPO } $TEST_BUILD_REPO $BUILD
112
106
cloneRepo $UPSTREAM_GITOPS_REPO ${TEST_GITOPS_REPO_SSH:- $TEST_GITOPS_REPO } $TEST_GITOPS_REPO $GITOPS
113
107
cloneRepo $UPSTREAM_BUILD_REPO ${TEST_BUILD_GITLAB_REPO_SSH:- $TEST_BUILD_GITLAB_REPO } $TEST_BUILD_GITLAB_REPO $GITLAB_BUILD
114
108
cloneRepo $UPSTREAM_GITOPS_REPO ${TEST_GITOPS_GITLAB_REPO_SSH:- $TEST_GITOPS_GITLAB_REPO } $TEST_GITOPS_GITLAB_REPO $GITLAB_GITOPS
115
109
cloneRepo $UPSTREAM_BUILD_REPO ${TEST_BUILD_JENKINS_REPO_SSH:- $TEST_BUILD_JENKINS_REPO } $TEST_BUILD_JENKINS_REPO $JENKINS_BUILD
116
110
cloneRepo $UPSTREAM_GITOPS_REPO ${TEST_GITOPS_JENKINS_REPO_SSH:- $TEST_GITOPS_JENKINS_REPO } $TEST_GITOPS_JENKINS_REPO $JENKINS_GITOPS
117
111
112
+ # Avoid messing with your real $HOME/.gitconfig when running locally
113
+ if [ -n " $LOCAL_SHELL_RUN " ]; then
114
+ export GIT_CONFIG_GLOBAL=$( pwd) /$TMP_REPOS /.gitconfig
115
+ echo GIT_CONFIG_GLOBAL=$GIT_CONFIG_GLOBAL
116
+ fi
117
+
118
118
# WARNING - if GITOPS_REPO_URL is set, update deployment will try to update
119
119
# the gitops repo. Disable this here if the gitops repo is NOT a fork
120
120
if [ $TEST_REPO_ORG == " redhat-appstudio" ]; then
You can’t perform that action at this time.
0 commit comments