OSC NONRTRIC Add Jenkins jobs for test helloworld servicestub 97/12197/2
authorambrishest <ambrish.singh@est.tech>
Thu, 7 Dec 2023 08:40:50 +0000 (08:40 +0000)
committerambrishest <ambrish.singh@est.tech>
Fri, 8 Dec 2023 14:57:43 +0000 (14:57 +0000)
Issue-ID: NONRTRIC-944
Change-Id: If8dde567dab3264d4a0dd2936f9e6702b0c721ed
Signed-off-by: ambrishest <ambrish.singh@est.tech>
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