Files
alfresco-community-repo/scripts/ci/build.sh
evasques 9ee2d1907c Migrate to GitHub Actions (#1863)
* Remove travis configuration

* Add github actions configuration

* ACS-4776 Finalize deprecation of BitlyUrlShortenerImpl (#1787)

(cherry picked from commit 7b87ee628d)

* Trigger tests [db][ags][tas][ags on MySQL]

* Add packaging scripts for TAS tests [db][ags][tas][ags on MySQL]

* ACS-3841 Add missing logs for WebDAV TAS tests (#1629)

* ACS-3841 Add missing logs

* ACS-3841 Reformat code + fix grep

(cherry picked from commit cdbe3292e0)

* Trigger tests [db][ags][tas][ags on MySQL]

* Enforce order the tests run on DispositionScheduleLinkedRecordsTest

* Added AlphabeticalPriorityInterceptor for AGS Rest tests

---------

Co-authored-by: Domenico Sibilio <domenicosibilio@gmail.com>
Co-authored-by: Damian Ujma <92095156+damianujma@users.noreply.github.com>
2023-04-05 23:21:59 +01:00

29 lines
723 B
Bash

#!/usr/bin/env bash
echo "=========================== Starting Build Script ==========================="
PS4="\[\e[35m\]+ \[\e[m\]"
set -vex
pushd "$(dirname "${BASH_SOURCE[0]}")/../../"
source "$(dirname "${BASH_SOURCE[0]}")/build_functions.sh"
if [[ -n ${BUILD_PROFILES} ]]; then
PROFILES="${BUILD_PROFILES}"
elif [[ "${REQUIRES_LOCAL_IMAGES}" == "true" ]]; then
PROFILES="-Pbuild-docker-images -Pags"
else
PROFILES="-Pags"
fi
if [[ "${REQUIRES_INSTALLED_ARTIFACTS}" == "true" ]]; then
PHASE="install"
else
PHASE="package"
fi
mvn -B -V $PHASE -DskipTests -Dmaven.javadoc.skip=true $PROFILES $BUILD_OPTIONS
popd
set +vex
echo "=========================== Finishing Build Script =========================="