mirror of
https://github.com/Alfresco/acs-community-packaging.git
synced 2025-09-10 14:12:09 +00:00
ACS-550 Trigger 7.0.0-TEST4 test release [release]
This commit is contained in:
@@ -29,8 +29,8 @@ env:
|
||||
- TAS_SCRIPTS=../alfresco-community-repo/packaging/tests/scripts
|
||||
- TAS_ENVIRONMENT=./tests/environment
|
||||
# Must be in the format <alfresco-version>-<additional_versioning> ie. 6.3.0-repo-xxxx-x or 6.3.0-Ax
|
||||
- RELEASE_VERSION=7.0.0-TEST3
|
||||
- DEVELOPMENT_VERSION=7.0.0-TEST4-SNAPSHOT
|
||||
- RELEASE_VERSION=7.0.0-TEST4
|
||||
- DEVELOPMENT_VERSION=7.0.0-TEST5-SNAPSHOT
|
||||
|
||||
stages:
|
||||
- name: test
|
||||
@@ -38,7 +38,7 @@ stages:
|
||||
- name: docker_latest
|
||||
if: fork = false AND type != pull_request AND branch = master
|
||||
- name: release
|
||||
if: commit_message ~= /\[release\]/ AND fork = false AND type != pull_request AND (branch =~ ^(master|develop)$ OR branch =~ /release\/.*/)
|
||||
if: commit_message ~= /\[release\]/ AND fork = false AND type != pull_request AND (branch =~ ^(master|develop)$ OR branch =~ /release\/.*/ OR branch = feature/REPO-5111_repo_build)
|
||||
- name: publish
|
||||
if: commit_message ~= /\[publish\]/ AND fork = false AND type != pull_request AND (branch =~ ^(master|develop)$ OR branch =~ /release\/.*/)
|
||||
|
||||
@@ -113,7 +113,6 @@ jobs:
|
||||
|
||||
- name: "Release and Copy to S3 Staging"
|
||||
stage: release
|
||||
install: travis_retry travis_wait 40 mvn -B -V clean install -DskipTests -Dmaven.javadoc.skip=true
|
||||
before_script: bash scripts/travis/verify_release_tag.sh
|
||||
script: travis_wait 40 bash scripts/travis/maven_release.sh
|
||||
before_deploy:
|
||||
|
4
pom.xml
4
pom.xml
@@ -9,7 +9,7 @@
|
||||
<groupId>org.alfresco</groupId>
|
||||
<artifactId>alfresco-community-repo</artifactId>
|
||||
<relativePath>../alfresco-community-repo/pom.xml</relativePath>
|
||||
<version>8.300-TEST2-SNAPSHOT</version>
|
||||
<version>8.300-TEST2</version>
|
||||
</parent>
|
||||
|
||||
<scm>
|
||||
@@ -31,7 +31,7 @@
|
||||
</distributionManagement>
|
||||
|
||||
<properties>
|
||||
<dependency.alfresco-community-repo.version>8.300-TEST2-SNAPSHOT</dependency.alfresco-community-repo.version>
|
||||
<dependency.alfresco-community-repo.version>8.300-TEST2</dependency.alfresco-community-repo.version>
|
||||
|
||||
<!-- Set to "Community Early Access" to add to the version.edition property in version.properties -->
|
||||
<version.edition>Community</version.edition>
|
||||
|
@@ -35,7 +35,7 @@ if isBranchBuild && [ "${TRAVIS_BUILD_STAGE_NAME,,}" = "release" ] && [ "${DEPEN
|
||||
fi
|
||||
|
||||
# Search, checkout and build the same branch on the upstream project in case of SNAPSHOT dependencies
|
||||
# Otherwise just checkout the upstream dependency sources
|
||||
# Otherwise, checkout the upstream tag and build its Docker image (use just "mvn package", without "mvn install")
|
||||
if [[ "${DEPENDENCY_VERSION}" =~ ^.+-SNAPSHOT$ ]] ; then
|
||||
pullAndBuildSameBranchOnUpstream "${UPSTREAM_REPO}" "-PcommunityDocker"
|
||||
else
|
||||
|
Reference in New Issue
Block a user