OSC NONRTRIC Add Jenkins jobs for test helloworld servicestub
[ci-management.git] / jjb / nonrtric / nonrtric.yaml
index 633d6e1..718c0f6 100644 (file)
       - master:
           branch: master
 
+- project:
+    <<: *nonrtric_jdk_common
+    name: nonrtric-test-servicestub
+    project-name: "{name}"
+    # image name
+    docker-name: "servicestub"
+    # get tag from YAML
+    container-tag-method: yaml-file
+    # use host network to clone from our gerrit
+    docker-build-args: "--network=host"
+    # Directory with Dockerfile
+    docker-root: "test/servicestub"
+    # Directory where go test should be run
+    # Limit build trigger to appropriate files
+    gerrit_trigger_file_paths:
+      - compare-type: REG_EXP
+        pattern: "test/servicestub/.*"
+    build-node: ubuntu1804-docker-4c-4g
+    # Includes verify and merge jobs
+    jobs:
+      - "{project-name}-gerrit-docker-jobs"
+    stream:
+      - master:
+          branch: master
+
 - project:
     <<: *nonrtric_jdk_common
     name: nonrtric-test-mrstub