diff --git a/manifest-pipeline-yocto.yml b/manifest-pipeline-yocto.yml index a94fd42cba41b6970609694459bcdf6a95737128..2d8b87ce17fef622e83b14ebd70078d338f78d86 100644 --- a/manifest-pipeline-yocto.yml +++ b/manifest-pipeline-yocto.yml @@ -186,8 +186,6 @@ retrigger: # init repository and generate configuration files for bitbake # checkout - BASEDIR=$PWD - - git config --global url.https://github.com/.insteadOf git://github.com/ - - git config --global url.https://gitlab-ci-token:${GITBOT_TOKEN}@git.seco.com/.insteadOf https://git.seco.com/ - mkdir -p /home/secous/.ssh - echo "$SSH_KNOWN_HOSTS" > /home/secous/.ssh/known_hosts - echo "$SSH_CONFIG_FILE" > /home/secous/.ssh/config @@ -212,6 +210,8 @@ retrigger: echo "This is the image name will be assigned to software artifacts: ${IMAGE_NAME}" - | su secous -c " + git config --global url.https://github.com/.insteadOf git://github.com/ + git config --global url.https://gitlab-ci-token:${GITBOT_TOKEN}@git.seco.com/.insteadOf https://git.seco.com/ repo init -u ${CI_REPOSITORY_URL} -b ${BUILD_BRANCH}; repo sync -j$(nproc) --fetch-submodules; . ./seco-setup.sh -d ${DEFCONFIG_FILE};