Skip to content

Commit

Permalink
[ACS-9025] Revert build changes
Browse files Browse the repository at this point in the history
  • Loading branch information
cezary-witkowski committed Dec 12, 2024
1 parent 29d8f13 commit 08107b7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
3 changes: 0 additions & 3 deletions scripts/ci/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
16 changes: 0 additions & 16 deletions scripts/ci/build_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 08107b7

Please sign in to comment.