diff --git a/e2e/yaks/openshift/monitoring/dependencyInstall.sh b/e2e/yaks/openshift/monitoring/dependencyInstall.sh index 392a50d622..6c63a83f50 100644 --- a/e2e/yaks/openshift/monitoring/dependencyInstall.sh +++ b/e2e/yaks/openshift/monitoring/dependencyInstall.sh @@ -18,7 +18,10 @@ SOURCE_DIR=$( dirname "${BASH_SOURCE[0]}") APP_FOLDER="${SOURCE_DIR}/app" -mvn clean install -f $APP_FOLDER +VERSION_CAMEL_K_RUNTIME=$(oc -n ${YAKS_NAMESPACE} get IntegrationPlatform camel-k -o 'jsonpath={.status.build.runtimeVersion}') +VERSION_CAMEL_QUARKUS=$(oc -n ${YAKS_NAMESPACE} get CamelCatalog camel-catalog-${VERSION_CAMEL_K_RUNTIME}-main -o 'jsonpath={.spec.runtime.metadata.camel-quarkus\.version}') + +mvn clean install -f $APP_FOLDER -Dversion.camel.quarkus=${VERSION_CAMEL_QUARKUS} LOCAL_MVN_HOME=$(mvn help:evaluate -Dexpression=settings.localRepository -q -DforceStdout) OPERATOR_POD=$(oc -n ${YAKS_NAMESPACE} get pods -l name=camel-k-operator --no-headers -o custom-columns=NAME:.metadata.name)