build attempt fix

This commit is contained in:
Timo Bejan 2021-08-23 14:23:53 +03:00
parent 7dca9546c2
commit c0b8c3a53e
2 changed files with 8 additions and 0 deletions

View File

@ -74,6 +74,9 @@ public class PlanSpec {
.name("common-ui")
.url("ssh://git@git.iqser.com:2222/sl/common-ui.git")
.branch("master")
.verboseLogs(true)
.fetchWholeRepository(true)
.shallowClonesEnabled(false)
.authentication(new SharedCredentialsIdentifier("bamboo-agent")
.scope(SharedCredentialsScope.GLOBAL)))
.planBranchManagement(new PlanBranchManagement().createForVcsBranch().delete(new BranchCleanup().whenInactiveInRepositoryAfterDays(30)).notificationForCommitters());

View File

@ -5,6 +5,11 @@ set -e
imageName="nexus.iqser.com:5001/red/$PROJECT"
dockerfileLocation="docker/$PROJECT/Dockerfile"
commonUIVersion=$(git submodule status | awk '{ print $1; }')
echo $commonUIVersion
mv ../common-ui ./libs/
git --git-dir ./libs/common-ui checkout $commonUIVersion
echo "On branch $bamboo_planRepository_branchName building project $PROJECT"
# shellcheck disable=SC2154
if [[ "$bamboo_planRepository_branchName" == "master" ]]