Merge branch 'stable-3.9'

* stable-3.9:
  Replace commentLink.html with commentLink.link during init

Change-Id: I91a7cc29c2c45b82aa7a107aaba9cd65d25e6cdf
diff --git a/.zuul.yaml b/.zuul.yaml
new file mode 100644
index 0000000..e404c2f
--- /dev/null
+++ b/.zuul.yaml
@@ -0,0 +1,12 @@
+- job:
+    name: plugins-its-jira-build
+    parent: gerrit-plugin-build
+    required-projects:
+      - plugins/its-base
+
+- project:
+    description: |
+      Build the plugin in check.
+    check:
+      jobs:
+        - plugins-its-jira-build
diff --git a/src/test/java/com/googlesource/gerrit/plugins/its/jira/JiraITTest.java b/src/test/java/com/googlesource/gerrit/plugins/its/jira/JiraITTest.java
index a656a06..d5f5d32 100644
--- a/src/test/java/com/googlesource/gerrit/plugins/its/jira/JiraITTest.java
+++ b/src/test/java/com/googlesource/gerrit/plugins/its/jira/JiraITTest.java
@@ -37,6 +37,7 @@
 import com.google.gerrit.acceptance.UseLocalDisk;
 import com.google.gerrit.acceptance.config.GerritConfig;
 import com.google.gerrit.acceptance.testsuite.project.ProjectOperations;
+import com.google.gerrit.server.config.SitePaths;
 import com.google.gerrit.testing.ConfigSuite;
 import com.google.inject.Inject;
 import java.io.IOException;
@@ -70,7 +71,7 @@
   private static final int PORT = 19888;
   private static final String URL = "http://localhost:" + PORT;
   private static final String COMMENT_SECTION = "commentLink." + PLUGIN_NAME;
-
+  @Inject private SitePaths sitePaths;
   private Path its_dir;
 
   @Rule public WireMockRule wireMockRule = new WireMockRule(options().port(PORT));
@@ -300,7 +301,7 @@
   }
 
   private void createItsDir() throws IOException {
-    its_dir = server.getSitePath().resolve("etc").resolve("its");
+    its_dir = sitePaths.resolve("etc").resolve("its");
     Files.createDirectories(its_dir);
   }