Skip to content
Extraits de code Groupes Projets
Valider e224fd2f rédigé par diosmosis's avatar diosmosis
Parcourir les fichiers

Tweak artifacts upload directory link for plugins.

parent 29421c3a
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -18,7 +18,7 @@ then
then
if [ -n "$PLUGIN_NAME" ]
then
artifacts_folder="ui-tests.master.$PLUGIN_NAME"
artifacts_folder="protected/ui-tests.master.$PLUGIN_NAME"
else
artifacts_folder="ui-tests.master"
fi
......@@ -30,7 +30,7 @@ then
if [ -n "$PLUGIN_NAME" ]
then
fixture=${PLUGIN_NAME:-OmniFixture}
fixture=${FIXTURE_NAME:-OmniFixture}
phantomjs ../lib/screenshot-testing/run-tests.js --use-github-expected --fixture=$fixture $PLUGIN_NAME
else
......
......@@ -48,7 +48,14 @@ else
tar -cjf screenshot-diffs.tar.bz2 screenshot-diffs
curl -X POST --data-binary @screenshot-diffs.tar.bz2 "$url_base&artifact_name=screenshot-diffs"
echo "View UI failures (if any) here: http://builds-artifacts.piwik.org/$branch_name/$TRAVIS_JOB_NUMBER/screenshot-diffs/diffviewer.html"
if [ -n "$PLUGIN_NAME" ];
then
diffviewer_url="http://builds-artifacts.piwik.org/protected/$branch_name/$TRAVIS_JOB_NUMBER/screenshot-diffs/diffviewer.html"
else
diffviewer_url="http://builds-artifacts.piwik.org/$branch_name/$TRAVIS_JOB_NUMBER/screenshot-diffs/diffviewer.html"
fi
echo "View UI failures (if any) here: $diffviewer_url"
fi
else
echo "No artifacts for $TEST_SUITE tests."
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter