From 7a7e8e5f94f68dd6e25a8880ea6257670efc4f12 Mon Sep 17 00:00:00 2001 From: Damian Mooyman Date: Tue, 16 May 2017 14:54:10 +1200 Subject: [PATCH] BUG Fix artifacts index.html download path --- tests/behat/travis-upload-artifacts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/behat/travis-upload-artifacts.php b/tests/behat/travis-upload-artifacts.php index aeadf5846..d5d1b2569 100644 --- a/tests/behat/travis-upload-artifacts.php +++ b/tests/behat/travis-upload-artifacts.php @@ -97,6 +97,6 @@ file_put_contents("{$artifactsPath}index.html", $html); run("~/bin/artifacts upload --permissions public-read --target-paths $targetPath $artifactsPath"); -$fullPath = str_replace('//', '/', "$baseUrl/$targetPath/artifacts/index.html"); +$fullPath = str_replace('//', '/', "$baseUrl/$targetPath/index.html"); $fullPath = str_replace('https:/s3', 'https://s3', $fullPath); echo "Uploaded artifacts to $fullPath\n";