add custom verify job for netvirt/routermanager stream
[releng/builder.git] / jjb / releng-macros.yaml
index 401944a851e128cff8d47dfb6bc60617d9fa6a2a..b188da33d8a0557b199628997c904fad3643afb5 100644 (file)
             default: '{refspec}'
             description: "GERRIT_REFSPEC parameter if not given by trigger"
 
+- parameter:
+    name: controller-version-parameter
+    parameters:
+        - string:
+            name: ODL_VERSION
+            default: '{odl_version}'
+            description: 'Controller version (for use with openstacks networking_odl project)'
+
+- parameter:
+    name: patches-to-build-parameter
+    parameters:
+        - string:
+            name: PATCHES_TO_BUILD
+            default: ''
+            description: 'csv list of patches in project:changeset format to build distribution with'
+
+- parameter:
+    name: distribution-branch-to-build-parameter
+    parameters:
+        - string:
+            name: DISTRIBUTION_BRANCH_TO_BUILD
+            default: 'master'
+            description: 'distribution repo branch to build with'
+
 - scm:
     name: git-scm
     scm:
@@ -42,6 +66,7 @@
             branches:
                 - 'origin/{branch}'
             skip-tag: true
+            shallow-clone: true
             wipe-workspace: true
 
 - scm:
@@ -54,6 +79,7 @@
             branches:
                 - 'origin/$GERRIT_BRANCH'
             skip-tag: true
+            shallow-clone: true
             choosing-strategy: '{choosing-strategy}'
 
 - wrapper:
     builders:
         - sonatype-clm:
             application-name: '{application-name}'
-            scan-targets: '**/target/**'
 
 - builder:
     name: releng-check-unicode