mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-09-17 14:21:39 +00:00
- Simplify dependencies and standardise order - README updated - Green builds - Changes to make Jars in enterprise war match - Changes to make files in enterprise image match - Added travis_wait 40 to the initial build as it can take 20 minutes to download artifacts - Removed TAS tests from .travis.yml but not the code as TAS tests require Java 11 - Added in an empty test so the build runs on feature branches.
18 lines
549 B
Bash
Executable File
18 lines
549 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -ev
|
|
|
|
# Use full history for release
|
|
git checkout -B "${TRAVIS_BRANCH}"
|
|
# Add email to link commits to user
|
|
git config user.email "${GIT_EMAIL}"
|
|
|
|
# Run the release plugin - with "[skip ci]" in the release commit message
|
|
mvn -B \
|
|
-PfullBuild,all-tas-tests \
|
|
"-Darguments=-PfullBuild,all-tas-tests -DskipTests -Dbuild-number=${TRAVIS_BUILD_NUMBER}" \
|
|
release:clean release:prepare release:perform \
|
|
-DscmCommentPrefix="[maven-release-plugin][skip ci] " \
|
|
-Dusername="${GIT_USERNAME}" \
|
|
-Dpassword="${GIT_PASSWORD}"
|
|
|