]> source.dussan.org Git - vaadin-framework.git/commitdiff
Revert "Publish error artifacts immediatly in TeamCity"
authorArtur Signell <artur@vaadin.com>
Wed, 30 Oct 2013 07:04:17 +0000 (07:04 +0000)
committerArtur Signell <artur@vaadin.com>
Wed, 30 Oct 2013 07:08:03 +0000 (09:08 +0200)
This reverts commit 5fb1da2da04ccca2305af31a9105b848e42b1ed6.

Change-Id: I9d84b75e5e189378eacd2559bb42399b77957010

uitest/src/com/vaadin/tests/tb3/ScreenshotTB3Test.java
uitest/test.xml

index 565cd4ce348d2e0c6539b96e6c1d8ed82ca003d4..a51421d3d59bee452dd050955dd725efd9deb0f1 100644 (file)
@@ -31,7 +31,6 @@ import org.junit.Before;
 import org.junit.Rule;
 import org.junit.rules.TestRule;
 import org.junit.rules.TestWatcher;
-import org.junit.runner.Description;
 import org.openqa.selenium.OutputType;
 import org.openqa.selenium.TakesScreenshot;
 import org.openqa.selenium.remote.DesiredCapabilities;
@@ -62,16 +61,7 @@ public abstract class ScreenshotTB3Test extends AbstractTB3Test {
 
             String className = testClass.getSimpleName();
             screenshotBaseName = className + "-" + testMethod;
-        }
-
-        @Override
-        protected void failed(Throwable e, Description description) {
-
-            // Notify Teamcity of failed test
-            System.out.print("##teamcity[publishArtifacts '");
-            System.out.println(getScreenshotErrorBaseName()
-                    + "* => screenshot-errors']");
-        }
+        };
     };
 
     /**
index bcb0bf540a3bd5d5e9d759bfcde30cdeeec8f981..b0db8d47f401d878112880dc7c708984da74ba1a 100644 (file)
             </batchtest>
         </junit>
 
-        <!-- Have teamcity publish each test error artifact immediatly if there are any -->
-        <basename property="basename" file="${target}" suffix="java" />
-        <echo>##teamcity[publishArtifacts '${com.vaadin.testbench.screenshot.directory}/errors/${basename}* => screenshot-errors']</echo>
-
     </target>
 
     <!-- Remove temporary source and compiled java files -->