mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
ACS-550 Test downstream repo update (4) [no release]
This commit is contained in:
@@ -25,7 +25,7 @@ branches:
|
|||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
- TAS_SCRIPTS=../alfresco-community-repo/packaging/tests/scripts
|
- TAS_SCRIPTS=../alfresco-community-repo/packaging/tests/scripts
|
||||||
- TAS_ENVIRONMENT=../alfresco-community-repo/packaging/tests/environment
|
- TAS_ENVIRONMENT=./packaging/tests/environment
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- name: test
|
- name: test
|
||||||
|
@@ -13,7 +13,7 @@ cloneRepo "${DOWNSTREAM_REPO}" "${TRAVIS_BRANCH}"
|
|||||||
cd "$(dirname "${BASH_SOURCE[0]}")/../../../$(basename "${DOWNSTREAM_REPO%.git}")"
|
cd "$(dirname "${BASH_SOURCE[0]}")/../../../$(basename "${DOWNSTREAM_REPO%.git}")"
|
||||||
|
|
||||||
# Update parent
|
# Update parent
|
||||||
mvn versions:update-parent versions:commit
|
mvn -B versions:update-parent versions:commit
|
||||||
|
|
||||||
VERSION="$(sed -n '/<parent>/,/<\/parent>/p' pom.xml \
|
VERSION="$(sed -n '/<parent>/,/<\/parent>/p' pom.xml \
|
||||||
| sed -n '/<version>/,/<\/version>/p' \
|
| sed -n '/<version>/,/<\/version>/p' \
|
||||||
@@ -22,7 +22,7 @@ VERSION="$(sed -n '/<parent>/,/<\/parent>/p' pom.xml \
|
|||||||
| xargs)"
|
| xargs)"
|
||||||
|
|
||||||
# Update dependency version
|
# Update dependency version
|
||||||
mvn versions:set-property versions:commit \
|
mvn -B versions:set-property versions:commit \
|
||||||
-Dproperty=dependency.alfresco-community-repo.version \
|
-Dproperty=dependency.alfresco-community-repo.version \
|
||||||
"-DnewVersion=${VERSION}"
|
"-DnewVersion=${VERSION}"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user