mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-09-17 14:21:39 +00:00
* ACS-4653 Migrate to GHA on release/7.2.1 (#1758) * Remove travis configuration files * Added property dependency.alfresco-transform-core.version * Added github action configuration for 7.2.1 * Add missing scripts and adjust start-compose.sh * Give execution permissions to scripts * ACS-3841 Add missing logs for WebDAV TAS tests (#1629) * ACS-3841 Add missing logs * ACS-3841 Reformat code + fix grep (cherry picked from commitcdbe3292e0
) * Move ags ci getLogs script. Update badge on readme (cherry picked from commit309f6baae3
) * ACS-4653 GHA - Fix mySQL tests (#1765) * Added missing mysql params for older version. Test [db] (cherry picked from commit7a504a0292
) * Fix readme - status for 7.2.N * Update license headers * ACS-4776 Finalize deprecation of BitlyUrlShortenerImpl (#1787) (cherry picked from commit906a812ea5
) --------- Co-authored-by: Domenico Sibilio <domenicosibilio@gmail.com>
29 lines
723 B
Bash
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 =========================="
|
|
|