Merge "Chore: Automation adds modeling-yang-kit.yaml"
[ci-management.git] / jjb / oom / oom-image-verify.yaml
index 58240f9..7e30688 100644 (file)
@@ -1,27 +1,53 @@
 ---
 - job-template:
-    name: '{project-name}-{stream}-image-verify'
-    project-type: freestyle
-    path: '$WORKSPACE'
+    name: "{project-name}-{stream}-image-verify"
     concurrent: true
+    branch: master
+    submodule-recursive: true
+
+    build_script: ""
+    git-url: "$GIT_URL/$PROJECT"
+    post_build_script: ""
+    pre_build_script: ""
+    submodule-disable: false
+    submodule-timeout: 10
+
+    project-type: freestyle
+    node: "{build-node}"
+
+    properties:
+      - lf-infra-properties:
+          build-days-to-keep: "{build-days-to-keep}"
+
+    parameters:
+      - lf-infra-parameters:
+          branch: "{branch}"
+          project: "{project}"
+          stream: "{stream}"
+          lftools-version: "{lftools-version}"
+
+    wrappers:
+      - lf-infra-wrappers:
+          build-timeout: "{build-timeout}"
+          jenkins-ssh-credential: "{jenkins-ssh-credential}"
+
+    publishers:
+      - lf-infra-publish
 
     scm:
       - gerrit-trigger-scm:
-          refspec: '$GERRIT_REFSPEC'
-          choosing-strategy: 'gerrit'
-          submodule-recursive: '{submodule-recursive}'
+          refspec: "$GERRIT_REFSPEC"
+          choosing-strategy: "gerrit"
+          submodule-recursive: "{submodule-recursive}"
 
     triggers:
       - gerrit-trigger-helm-patch-submitted:
-          status-context: '{project}-Helm-Verify'
-          server: '{server-name}'
-          project: '{project}'
-          branch: '{branch}'
-          files: '{files}'
+          status-context: "{project}-Helm-Verify"
+          server: "{server-name}"
+          project: "{project}"
+          branch: "{branch}"
+          files: "{files}"
 
     builders:
       - lf-infra-pre-build
-      - shell: 'make check-for-staging-images | true'
-
-    publishers:
-      - infra-shiplogs:
+      - shell: "cd kubernetes; make check-for-staging-images 2>&1"