diff --git a/scripts/ci/build.sh b/scripts/ci/build.sh index 86cee16ca3..aca85ccb4f 100644 --- a/scripts/ci/build.sh +++ b/scripts/ci/build.sh @@ -117,9 +117,6 @@ else pullUpstreamTagAndBuildDockerImage "${SHARE_UPSTREAM_REPO}" "${SHARE_DEPENDENCY_VERSION}" "-P$BUILD_PROFILE -Pags -Dlicense.failOnNotUptodateHeader=true -Ddocker.quay-expires.value=NEVER -Ddependency.alfresco-community-repo.version=${COM_DEPENDENCY_VERSION} -Ddependency.alfresco-enterprise-repo.version=${ENT_DEPENDENCY_VERSION}" fi -DSYNC_UPSTREAM_REPO="github.com/Alfresco/dsync-services.git" -pullAndBuildSameBranch "${DSYNC_UPSTREAM_REPO}" - # Build the current project if [[ -n "$IMAGE_TAG" ]]; then ACS_IMAGE="-Dimage.tag=$IMAGE_TAG" diff --git a/scripts/ci/build_functions.sh b/scripts/ci/build_functions.sh index ab542aea10..ad072ccb81 100644 --- a/scripts/ci/build_functions.sh +++ b/scripts/ci/build_functions.sh @@ -169,22 +169,6 @@ function pullAndBuildSameBranchOnUpstream() { popd } -function pullAndBuildSameBranch() { - local UPSTREAM_REPO="${1}" - - local SOURCE_BRANCH="$(identifyUpstreamSourceBranch "${UPSTREAM_REPO}")" - - cloneRepo "${UPSTREAM_REPO}" "${SOURCE_BRANCH}" - - pushd "$(dirname "${BASH_SOURCE[0]}")/../../../" - - cd "$(basename "${UPSTREAM_REPO%.git}")" - - mvn -B -ntp -V -q clean install -DskipTests -Dmaven.javadoc.skip=true - - popd -} - function retieveLatestTag() { local REPO="${1}" local BRANCH="${2}"