build attempt fix
This commit is contained in:
parent
7dca9546c2
commit
c0b8c3a53e
@ -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());
|
||||
|
||||
@ -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" ]]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user