Remove Polymer template tests in stable-3.2 and later
Change-Id: Iee528470ace8583bdb80ca9fd327e0aa659457f3
diff --git a/jenkins/gerrit-codestyle-polygerrit-template.sh b/jenkins/gerrit-codestyle-polygerrit-template.sh
index a579ff4..f276b17 100644
--- a/jenkins/gerrit-codestyle-polygerrit-template.sh
+++ b/jenkins/gerrit-codestyle-polygerrit-template.sh
@@ -1,8 +1,6 @@
#!/bin/bash -xe
cd gerrit
-if ([ "$TARGET_BRANCH" == "master" ] || \
- [ "$TARGET_BRANCH" == "stable-3.2" ] || \
- [ "$TARGET_BRANCH" == "stable-3.1" ] || \
+if ([ "$TARGET_BRANCH" == "stable-3.1" ] || \
[ "$TARGET_BRANCH" == "stable-3.0" ] || \
[ "$TARGET_BRANCH" == "stable-2.16" ]) \
&& git show --diff-filter=AM --name-only --pretty="" HEAD | grep polygerrit-ui