Enable unit tests for datafile patch verification
[infra/cicd.git] / jjb / datafile / datafile-verify-jobs.yaml
index dd132b2497304e715f231823f38f5d730b45bf91..342a8f894f9a36347643a5374b599e1c73494da1 100644 (file)
@@ -7,18 +7,20 @@
 
     project: dcaegen2/collectors/datafile
 
+    project-name: dcaegen2-collectors-datafile
+
     stream:
       - nordix-dev:
           branch: '{stream}'
 
     jobs:
-      - datafile-verify-{stream}
+      - '{project-name}-{stream}-verify-java'
 
 
 - job-template:
-    name: datafile-verify-{stream}
+    name: '{project-name}-{stream}-verify-java'
 
-    node: ubuntu1804
+    node: onap-ubuntu1604
 
     disabled: false
 
           project: '{project}'
           branch: '{branch}'
       - nordix-gerrit-parameters
+      - string:
+          name: JAVA_HOME
+          default: /usr/lib/jvm/java-1.8.0-openjdk-amd64
+          description: Java home
+      - string:
+          name: MVN_VERSION
+          default: 3.3.9
+          description: Maven version
+      - string:
+          name: MVN_URL
+          default: https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/$MVN_VERSION/apache-maven-${{MVN_VERSION}}-bin.zip
+          description: URL to download Maven
+      - string:
+          name: MVN
+          default: $WORKSPACE/apache-maven-${{MVN_VERSION}}/bin/mvn
+          description: Path to mvn executable
 
     scm:
       - git-scm-gerrit:
@@ -41,9 +59,6 @@
           branch: '{branch}'
           files: '**'
 
-    wrappers:
-      - nordixinfra-jjb-creds-wrapper
-
     builders:
       - shell:
           !include-raw-escape: ./datafile-verify.sh