-
-
Save jamesyang124/82f195405ccfa8fce4ec05212f44eb17 to your computer and use it in GitHub Desktop.
Revisions
-
justengland created this gist
Jul 24, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ System.setProperty("hudson.model.DirectoryBrowserSupport.CSP", "default-src 'none'; script-src 'self' 'unsafe-inline'; connect-src 'self'; img-src 'self'; style-src 'self'; font-src 'self';") This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ <HTML> <body style="margin:0px;padding:0px;overflow:hidden"> <script> location.href='https://s3.amazonaws.com/{your-bucket}/{build}/mochawesome.html'; </script> </body> </HTML> This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ # Run Installs and Test npm install --production ./node_modules/.bin/mocha test --reporter mochawesome --reporter-options inlineAssets=true #upload test results to s3 aws s3 rm $REPORT_S3 --recursive aws s3 cp $REPORT_FOLDER $REPORT_S3 --recursive