Skip to content

Commit

Permalink
fix paths
Browse files Browse the repository at this point in the history
  • Loading branch information
wildone committed Nov 3, 2019
1 parent 888c275 commit fec5104
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions automation-testing
Original file line number Diff line number Diff line change
Expand Up @@ -33,28 +33,32 @@ echo ls -l
cd aemdesign-testing
./test-spec --login --host $LOCAL_IP --port ${AEM_PORT} --url http://$LOCAL_IP:${SELENIUMHUB_PORT}/wd/hub GenericDetailsA*


if [[ ! -d "remote-seleniumhub-chrome/generated-docs/html" ]]; then
echo TEST DID NOT OUTPUT ANY RESULTS
exit 1
fi

export TEST_RESULTS="$(pwd)/aemdesign-testing/remote-seleniumhub-chrome"
echo CURRENT DIR: $(pwd)

echo ">>> CURRENT <<<"
ls -l


export TEST_RESULTS="$(pwd)/remote-seleniumhub-chrome"
echo TEST_RESULTS: ${TEST_RESULTS}

echo ">>> TEST_RESULTS <<<"
ls -l ${TEST_RESULTS}

export OUTPUT_SOURCE="${TEST_RESULTS}/generated-docs"

echo OUTPUT_SOURCE: ${OUTPUT_SOURCE}
echo PUBLISH RESULTS

echo ">>> OUTPUT_SOURCE <<<"
ls -l ${OUTPUT_SOURCE}

echo PUBLISH RESULTS
export PATH_GHPAGES="./build/ghpages"

echo CURRENT DIR: $(pwd)
echo ls -l

echo CREATE TEMP FOLDER
mkdir -p ${PATH_GHPAGES}

Expand All @@ -67,7 +71,7 @@ echo SWITCH TO GH-PAGES BRANCH
cd aemdesign-aem-support-output

echo CURRENT DIR: $(pwd)
echo ls -l
ls -l

OUTPUT_DEST="$(pwd)/generated-docs"
echo OUTPUT_DEST: ${OUTPUT_DEST}
Expand Down

0 comments on commit fec5104

Please sign in to comment.