Refactor!: Update JJB code to comply with 5.x
[ci-management.git] / jjb / nonrtric-rapp-healthcheck / nonrtric-rapp-healthcheck.yaml
index e8cb4d6..423d5ff 100644 (file)
     build-node: centos7-builder-1c-1g
     jobs:
       - gerrit-info-yaml-verify
+
+- _nonrtric-rapp-healthcheck_common: &nonrtric_rapp_healthcheck_common
+    name: nonrtric-rapp-healthcheck-common
+    # git repo
+    project: nonrtric/rapp/healthcheck
+    # jenkins job name prefix
+    project-name: nonrtric-rapp-healthcheck
+    # maven settings file has docker credentials
+    mvn-settings: nonrtric-rapp-healthcheck-settings
+
+- project:
+    <<: *nonrtric_rapp_healthcheck_common
+    name: nonrtric-rapp-healthcheck-verify
+    project-name: '{name}'
+    # image name
+    docker-name: 'o-ran-sc/nonrtric-rapp-healthcheck'
+    # get tag from YAML
+    container-tag-method: yaml-file
+    # use host network to clone from our gerrit
+    docker-build-args: '--network=host'
+    build-node: ubuntu1804-docker-4c-4g
+    # Includes verify and merge jobs
+    jobs:
+      - '{project-name}-gerrit-docker-jobs'
+    stream:
+      - master:
+          branch: master