mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
fix condition
This commit is contained in:
@@ -75,7 +75,7 @@ jobs:
|
|||||||
stage: Tests
|
stage: Tests
|
||||||
install:
|
install:
|
||||||
- |
|
- |
|
||||||
if [[ ${TRAVIS_COMMIT_MESSAGE} == *"[tests on community]"* ]]; then
|
if [[ ${TRAVIS_COMMIT_MESSAGE} =~ /\[tests on community\]/ ]]; then
|
||||||
travis_retry travis_wait 90 mvn -B -q install $MVN_SKIP -PbuildDockerImage -pl :alfresco-rm-community-repo -am
|
travis_retry travis_wait 90 mvn -B -q install $MVN_SKIP -PbuildDockerImage -pl :alfresco-rm-community-repo -am
|
||||||
else
|
else
|
||||||
travis_retry travis_wait 90 mvn -B -q install $MVN_SKIP -PbuildDockerImage -pl :alfresco-rm-enterprise-repo -am
|
travis_retry travis_wait 90 mvn -B -q install $MVN_SKIP -PbuildDockerImage -pl :alfresco-rm-enterprise-repo -am
|
||||||
@@ -83,7 +83,8 @@ jobs:
|
|||||||
- travis_retry travis_wait 30 mvn -B -U -q clean install ${MVN_SKIP} -pl :alfresco-rm-automation-community-rest-api -am
|
- travis_retry travis_wait 30 mvn -B -U -q clean install ${MVN_SKIP} -pl :alfresco-rm-automation-community-rest-api -am
|
||||||
before_script:
|
before_script:
|
||||||
- |
|
- |
|
||||||
if [[ ${TRAVIS_COMMIT_MESSAGE} == *"[tests on community]"* ]]; then
|
echo ${TRAVIS_COMMIT_MESSAGE}
|
||||||
|
if [[ ${TRAVIS_COMMIT_MESSAGE} =~ /\[tests on community\]/ ]]; then
|
||||||
bash scripts/startAlfresco.sh $COMMUNITY_REPO_PATH
|
bash scripts/startAlfresco.sh $COMMUNITY_REPO_PATH
|
||||||
else
|
else
|
||||||
bash scripts/startAlfresco.sh $ENTERPRISE_REPO_PATH
|
bash scripts/startAlfresco.sh $ENTERPRISE_REPO_PATH
|
||||||
@@ -118,7 +119,7 @@ jobs:
|
|||||||
target_paths: $TRAVIS_BUILD_NUMBER
|
target_paths: $TRAVIS_BUILD_NUMBER
|
||||||
before_install:
|
before_install:
|
||||||
- |
|
- |
|
||||||
if [[ ${TRAVIS_COMMIT_MESSAGE} == *"[tests on community]"* ]]; then
|
if [[ ${TRAVIS_COMMIT_MESSAGE} =~ /\[tests on community\]/ ]]; then
|
||||||
travis_retry travis_wait 90 mvn -B -q install $MVN_SKIP -PbuildDockerImage -pl :alfresco-rm-community-repo,:alfresco-rm-community-share -am
|
travis_retry travis_wait 90 mvn -B -q install $MVN_SKIP -PbuildDockerImage -pl :alfresco-rm-community-repo,:alfresco-rm-community-share -am
|
||||||
else
|
else
|
||||||
travis_retry travis_wait 90 mvn -B -q install $MVN_SKIP -PbuildDockerImage -pl :alfresco-rm-enterprise-repo,:alfresco-rm-enterprise-share -am
|
travis_retry travis_wait 90 mvn -B -q install $MVN_SKIP -PbuildDockerImage -pl :alfresco-rm-enterprise-repo,:alfresco-rm-enterprise-share -am
|
||||||
@@ -126,7 +127,7 @@ jobs:
|
|||||||
- travis_retry travis_wait 30 mvn -B -U -q clean install ${MVN_SKIP} -pl :alfresco-rm-automation-ui -am
|
- travis_retry travis_wait 30 mvn -B -U -q clean install ${MVN_SKIP} -pl :alfresco-rm-automation-ui -am
|
||||||
install:
|
install:
|
||||||
- |
|
- |
|
||||||
if [[ ${TRAVIS_COMMIT_MESSAGE} == *"[tests on community]"* ]]; then
|
if [[ ${TRAVIS_COMMIT_MESSAGE} =~ /\[tests on community\]/ ]]; then
|
||||||
bash scripts/startAlfresco.sh $COMMUNITY_SHARE_PATH
|
bash scripts/startAlfresco.sh $COMMUNITY_SHARE_PATH
|
||||||
else
|
else
|
||||||
bash scripts/startAlfresco.sh $ENTERPRISE_SHARE_PATH
|
bash scripts/startAlfresco.sh $ENTERPRISE_SHARE_PATH
|
||||||
|
Reference in New Issue
Block a user