checkout shared first

This commit is contained in:
Timo Bejan 2021-08-02 15:39:32 +03:00
parent 61eff68caa
commit dd4f6c6ae9
2 changed files with 6 additions and 1 deletions

2
.gitmodules vendored
View File

@ -1,3 +1,3 @@
[submodule "libs/common-ui"]
path = libs/common-ui
url = ssh://git.iqser.com/scm/sl/common-ui.git
url = ../../sl/common-ui.git

View File

@ -5,6 +5,11 @@ set -e
imageName="nexus.iqser.com:5001/red/$PROJECT"
dockerfileLocation="docker/$PROJECT/Dockerfile"
# pull submodule code for ui shared libs
#ssh-keyscan -t rsa git.iqser.com >> ~/.ssh/known_hosts
git submodule update --init --recursive
echo "On branch $bamboo_planRepository_branchName building project $PROJECT"
# shellcheck disable=SC2154
if [[ "$bamboo_planRepository_branchName" == "master" ]]