[ADF-5122] Unexclude C309674 test (#5655)

* [ADF-5122] Unexclude C309674 test

* Improve affected libs script to run tests if tests exclussion changed
This commit is contained in:
davidcanonieto
2020-04-30 14:47:18 +01:00
committed by GitHub
parent 6fb27aeb32
commit b77384331f
2 changed files with 8 additions and 1 deletions

View File

@@ -1,6 +1,5 @@
{
"C260249" : "REPO-4772 ACS 6.2",
"C309674" : "https://issues.alfresco.com/jira/browse/ADF-5122",
"C315268" : "https://issues.alfresco.com/jira/browse/ADF-5123"
}

View File

@@ -54,6 +54,14 @@ if [ ! -f $DIRECTORY/deps.txt ]; then
npm run affected:libs -- $HEAD_SHA_BRANCH "HEAD" > $DIRECTORY/deps.txt
fi
LIST_SPECS="$(git diff --name-only $BRANCH_NAME HEAD)"
if [[ $LIST_SPECS == *"protractor.excludes.json"* ]]; then
AFFECTED_LIBS="core$ content-services$ process-services$ process-services-cloud$ insights$ extensions$ testing$ cli$"
echo "${AFFECTED_LIBS}"
exit 0
fi
#cat $DIRECTORY/deps.txt
#echo "extensions" > deps.txt