Enforce rules_gwt and rules_groovy to not run any tests
rules_gwt and rules_groovy are not triggering any
tests and removal of 'tests(...)' made them start failing,
just special casing them then.
Change-Id: Ic87424014fac70dd26e0adc47d16f3f6109d46e6
diff --git a/jenkins/jobs/BUILD b/jenkins/jobs/BUILD
index 5e18442..2f46c81 100644
--- a/jenkins/jobs/BUILD
+++ b/jenkins/jobs/BUILD
@@ -148,8 +148,6 @@
"rules_d",
"rules_go",
"rules_sass",
- "rules_gwt",
- "rules_groovy",
"rules_perl",
"rules_docker",
"skydoc",
@@ -157,6 +155,12 @@
"migration-tooling",
]]
+# Jobs without tests
+[bazel_github_job(name = n, config = ":configs/no-tests.json") for n in [
+ "rules_groovy",
+ "rules_gwt",
+]]
+
# Jobs from the bazelbuild org using a dummy configuration
[bazel_github_job(name = n, config = ":configs/empty.json") for n in [
"rules_apple",
diff --git a/jenkins/jobs/configs/no-tests.json b/jenkins/jobs/configs/no-tests.json
new file mode 100644
index 0000000..5d48a0b
--- /dev/null
+++ b/jenkins/jobs/configs/no-tests.json
@@ -0,0 +1,10 @@
+[
+ {
+ "parameters": {"tests": []},
+ "configurations": [
+ {"node": "linux-x86_64"},
+ {"node": "ubuntu_16.04-x86_64"},
+ {"node": "darwin-x86_64"}
+ ]
+ }
+]