From 78e028bdec6619c827ab633d5be130cbf395ed38 Mon Sep 17 00:00:00 2001 From: CezarLeahu <35226487+CezarLeahu@users.noreply.github.com> Date: Mon, 14 Oct 2019 15:22:59 +0300 Subject: [PATCH] ATS-586: Update Travis build configuration (#142) - update settings.xml with missing servers - remove *install* phase from *company_release* jobs - use regex for matching support branches - update deploy tasks --- .travis.yml | 11 +++++------ _ci/settings.xml | 6 ++++++ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index e0b1479c..c942d1c8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,11 +18,9 @@ cache: branches: only: - master - - SP/1.3.N - - SP/2.0.N + - /^SP\/.+$/ - release - - release/SP/1.3.N - - release/SP/2.0.N + - /^release\/SP\/.+$/ - company_release - /^ATS-.*$/ @@ -48,7 +46,7 @@ jobs: - name: "Release" stage: release - if: branch IN (release, release/SP/1.3.N, release/SP/2.0.N) + if: branch = release OR branch =~ /^release\/SP\/.+$/ before_install: bash _ci/init.sh before_script: travis_wait bash _ci/cache_artifacts.sh script: travis_wait 30 bash _ci/release.sh @@ -63,12 +61,13 @@ jobs: local_dir: "deploy_dir" upload-dir: "enterprise/AlfrescoTransformServices/TransformEngines/${VERSION}" on: - branch: release + all_branches: true - name: "Company Release" stage: company_release if: branch = company_release before_install: bash _ci/init.sh + install: echo "NoOp" script: echo "NoOp" before_deploy: source _ci/prepare_release_deploy.sh deploy: diff --git a/_ci/settings.xml b/_ci/settings.xml index 87dbb4d9..ccec1b18 100644 --- a/_ci/settings.xml +++ b/_ci/settings.xml @@ -64,6 +64,12 @@ bamboo ${env.NEXUS_PASSWORD} + + alfresco-thirdparty + bamboo + ${env.NEXUS_PASSWORD} + + quay.io