ACS-10404 Base Branch - Test ATS T-core runtime compatibility with Java 21 and 25 (#1147)

* ACS-10404 Base Branch - Test ATS T-core runtime compatibility with Java 21 and 25

* ACS-10404 Test e2e AIO runtime compatibility with Java 21 and 25 (#1148)

* ACS-10404 Test e2e AIO runtime compatibility with Java 21 and 25

* ACS-10404 pull failure

* ACS-10404 review changes

* ACS-10404 review changes

* ACS-10404 ADDITIONAL_MAVEN_OPTS

* ACS-10404 bin/sh failure fix

* ACS-10404 fix

* ACS-10404 updating to latest java images

* ACS-10404: e2e tika tests failure - updating output property version (#1152)

* ACS-10404: e2e tika tests failure - updating output property version

* ACS-10404: precommit

* ACS-10404: updating output property version to 1.1

* ACS-10404: updating output property version to 1.1 for HTML

* ACS-10404: clean up

* ACS-10404: clean up
This commit is contained in:
Belal Ansari
2025-10-24 18:30:22 +05:30
committed by GitHub
parent 4f5932f22b
commit 4390629bd4
10 changed files with 121 additions and 54 deletions

View File

@@ -11,12 +11,21 @@ pushd "$(dirname "${BASH_SOURCE[0]}")/../"
# If the branch is "master" and the commit is not a Pull Request then deploy the JAR SNAPSHOT artifacts
[ "${PULL_REQUEST}" = "false" ] && [ "${BRANCH_NAME}" = "master" ] && DEPLOY="deploy" || DEPLOY="verify"
if [ "${SMOKE_TESTS}" = "true" ]; then
ADDITIONAL_MAVEN_OPTS="-Dit.test=**/*IT.java"
else
ADDITIONAL_MAVEN_OPTS=""
fi
source "$(dirname "${BASH_SOURCE[0]}")/java_base_image_map.sh"
# Do not deploy snapshots for alfresco-transform-core, alfresco-transformer-base and alfresco-base-t-engine
mvn -B -U -Dmaven.wagon.http.pool=false \
clean ${DEPLOY} \
-DadditionalOption=-Xdoclint:none -Dmaven.javadoc.skip=true \
-Dparent.core.deploy.skip=true -Dtransformer.base.deploy.skip=true \
"-P${PROFILE},docker-it-setup,${1}"
"-P${PROFILE},docker-it-setup,${1}" \
${ADDITIONAL_MAVEN_OPTS}
docker ps -a -q | xargs -r -l docker stop ; docker ps -a -q | xargs -r -l docker rm