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
This commit is contained in:
CezarLeahu 2019-10-14 15:22:59 +03:00 committed by GitHub
parent 0f07718cb2
commit 78e028bdec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 6 deletions

View File

@ -18,11 +18,9 @@ cache:
branches: branches:
only: only:
- master - master
- SP/1.3.N - /^SP\/.+$/
- SP/2.0.N
- release - release
- release/SP/1.3.N - /^release\/SP\/.+$/
- release/SP/2.0.N
- company_release - company_release
- /^ATS-.*$/ - /^ATS-.*$/
@ -48,7 +46,7 @@ jobs:
- name: "Release" - name: "Release"
stage: 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_install: bash _ci/init.sh
before_script: travis_wait bash _ci/cache_artifacts.sh before_script: travis_wait bash _ci/cache_artifacts.sh
script: travis_wait 30 bash _ci/release.sh script: travis_wait 30 bash _ci/release.sh
@ -63,12 +61,13 @@ jobs:
local_dir: "deploy_dir" local_dir: "deploy_dir"
upload-dir: "enterprise/AlfrescoTransformServices/TransformEngines/${VERSION}" upload-dir: "enterprise/AlfrescoTransformServices/TransformEngines/${VERSION}"
on: on:
branch: release all_branches: true
- name: "Company Release" - name: "Company Release"
stage: company_release stage: company_release
if: branch = company_release if: branch = company_release
before_install: bash _ci/init.sh before_install: bash _ci/init.sh
install: echo "NoOp"
script: echo "NoOp" script: echo "NoOp"
before_deploy: source _ci/prepare_release_deploy.sh before_deploy: source _ci/prepare_release_deploy.sh
deploy: deploy:

View File

@ -64,6 +64,12 @@
<username>bamboo</username> <username>bamboo</username>
<password>${env.NEXUS_PASSWORD}</password> <password>${env.NEXUS_PASSWORD}</password>
</server> </server>
<server>
<id>alfresco-thirdparty</id>
<username>bamboo</username>
<password>${env.NEXUS_PASSWORD}</password>
</server>
<!-- private docker registry--> <!-- private docker registry-->
<server> <server>
<id>quay.io</id> <id>quay.io</id>