mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Add as group suffix the travis build number (#5072)
This commit is contained in:
committed by
Eugenio Romano
parent
8ee3e25caf
commit
b2966bc6f5
@@ -132,6 +132,11 @@ set_env(){
|
||||
export ENV_FILE=$1
|
||||
}
|
||||
|
||||
set_prefix(){
|
||||
PREFIX=$1
|
||||
export PREFIX=$PREFIX
|
||||
}
|
||||
|
||||
lint(){
|
||||
EXECLINT=true
|
||||
}
|
||||
@@ -174,6 +179,7 @@ while [[ $1 == -* ]]; do
|
||||
-env|--env) set_env $2; shift 2;;
|
||||
-dev|--dev) set_development; shift;;
|
||||
-s|--specs) set_specs $2; shift 2;;
|
||||
-prefix|--prefix) set_prefix $2; shift 2;;
|
||||
-db|--debug) debug; shift;;
|
||||
-ud|--use-dist) lite_server; shift;;
|
||||
-save) set_save_screenshot; shift;;
|
||||
|
@@ -11,7 +11,7 @@ CONTEXT_ENV="process-services-cloud"
|
||||
AFFECTED_LIBS="$(./scripts/affected-libs.sh -gnu -b $TRAVIS_BRANCH)";
|
||||
AFFECTED_E2E="$(./scripts/git-util/affected-folder.sh -b $TRAVIS_BRANCH -f "e2e/$CONTEXT_ENV")";
|
||||
|
||||
RUN_E2E=$(echo ./scripts/test-e2e-lib.sh -host http://localhost:4200 -proxy "$E2E_HOST_BPM" -u "$E2E_USERNAME" -p "$E2E_PASSWORD" -e "$E2E_EMAIL" -host_sso "$E2E_HOST_SSO" -host_bpm "$E2E_HOST_BPM" -host_identity "$E2E_HOST_IDENTITY" -identity_admin_email "$E2E_ADMIN_EMAIL_IDENTITY" -identity_admin_password "$E2E_ADMIN_PASSWORD_IDENTITY" --use-dist -gnu )
|
||||
RUN_E2E=$(echo ./scripts/test-e2e-lib.sh -host http://localhost:4200 -proxy "$E2E_HOST_BPM" -u "$E2E_USERNAME" -p "$E2E_PASSWORD" -e "$E2E_EMAIL" -host_sso "$E2E_HOST_SSO" -host_bpm "$E2E_HOST_BPM" -host_identity "$E2E_HOST_IDENTITY" -identity_admin_email "$E2E_ADMIN_EMAIL_IDENTITY" -identity_admin_password "$E2E_ADMIN_PASSWORD_IDENTITY" -prefix $TRAVIS_BUILD_NUMBER --use-dist -gnu )
|
||||
|
||||
if [[ $AFFECTED_LIBS =~ "testing" || $AFFECTED_LIBS =~ "$CONTEXT_ENV" || $TRAVIS_PULL_REQUEST == "false" ]];
|
||||
then
|
||||
|
Reference in New Issue
Block a user