mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
* remove unnecessary build environment variables * add a LOG_WARN environment variable - for shorter build commands * split the `release.sh` script into `community_release.sh` and `enterprise_release.sh` * remove usage of the `-Dcommunity` build variable where not needed - use/exclude the `-Penterprise` profile explicitly where needed * modify the Travis `install` phase on some jobs so it runs a basic Java compilation of the project (without docker) * remove the *internal* profile and renamed the *master* profile into *publish-docker-latest* * modifiy the profiles for the docker builds so that the same profile handles both community (DockerHub&Quay) and enteprise (only Quay) docker image deploys * run all the _Unit&Integration Tests_ across community&enteprise in one single job, in parallel with the REST API & UI test suites (APPS-889) * reorganize the job order so that the *Tests* stage is the first one executed (APPS-894) * only run the *Maven&Docker deploy* tasks on the *master* & *release* branches after the *Tests* stage (APPS-894)
9 lines
422 B
YAML
9 lines
422 B
YAML
jobs:
|
|
include:
|
|
- name: "Deploy Maven & Docker"
|
|
stage: Deploy
|
|
install: travis_retry travis_wait 60 mvn -B -V -q clean install ${MVN_SKIP}
|
|
before_script: test "${TRAVIS_BRANCH}" = "master" && export IMAGE_TAG="latest" || export IMAGE_TAG="${TRAVIS_BRANCH:8}-latest"
|
|
script: travis_retry travis_wait 120 mvn -B -q deploy -DskipTests -Ppublish-docker-latest -Dimage.tag=${IMAGE_TAG} ${LOG_WARN}
|
|
|