Move Barometer Builds to lf-build2 49/64849/1
authorTrevor Bramwell <tbramwell@linuxfoundation.org>
Fri, 9 Nov 2018 05:21:32 +0000 (21:21 -0800)
committerTrevor Bramwell <tbramwell@linuxfoundation.org>
Fri, 9 Nov 2018 05:21:32 +0000 (21:21 -0800)
Adds specific parameter for 'lf-build2' so it can be referenced with
the '{build-server}-defaults' syntax and assigns barometer verify and
merge jobs to lf-build2.

Change-Id: If68dfc4e6ea81884870047360051795407c15af3
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
jjb/barometer/barometer.yaml
jjb/global/slave-params.yaml

index 972848f..9cb222a 100644 (file)
@@ -32,7 +32,7 @@
       - project-parameter:
           project: '{project}'
           branch: '{branch}'
-      - 'ericsson-build4-defaults'
+      - 'lf-build2-defaults'
 
     scm:
       - git-scm-gerrit
@@ -89,7 +89,7 @@
       - project-parameter:
           project: '{project}'
           branch: '{branch}'
-      - 'ericsson-build4-defaults'
+      - 'lf-build2-defaults'
 
     scm:
       - git-scm
index 09a0d22..1d8654c 100644 (file)
           default: $WORKSPACE/build_output
           description: "Directory where the build artifact will be located upon the completion of the build."
 
+- parameter:
+    name: 'lf-build2-defaults'
+    parameters:
+      - label:
+          name: SLAVE_LABEL
+          default: 'lf-build2'
+          description: 'Slave label on Jenkins'
+          all-nodes: false
+          node-eligibility: 'ignore-offline'
+      - string:
+          name: GIT_BASE
+          default: https://gerrit.opnfv.org/gerrit/$PROJECT
+          description: 'Git URL to use on this Jenkins Slave'
+      - string:
+          name: BUILD_DIRECTORY
+          default: $WORKSPACE/build_output
+          description: "Directory where the build artifact will be located upon the completion of the build."
+
 - parameter:
     name: 'ericsson-build3-defaults'
     parameters: