[VOL-3358] Initial template for voltha-scale-matrix job
Change-Id: If3eb064b4d8eef5bb1cf6ba7d815a8b8a6f9d34b
diff --git a/jjb/voltha-scale.yaml b/jjb/voltha-scale.yaml
index b6ce923..6f72350 100644
--- a/jjb/voltha-scale.yaml
+++ b/jjb/voltha-scale.yaml
@@ -572,3 +572,44 @@
concurrent: false
dsl: !include-raw-escape: pipeline/{pipeline-script}
+
+- job-template:
+ id: 'voltha-scale-matrix-dev'
+ name: '{name}'
+ pipeline-script: 'voltha-scale-matrix.groovy'
+
+ description: |
+ <!-- Managed by Jenkins Job Builder -->
+ Created by {id} job-template from ci-management/jjb/voltha-scale.yaml <br /><br />
+ Using pipeline {pipeline-script} <br/><br/>
+ Scale measurements for VOLTHA 2.x
+
+ properties:
+ - cord-infra-properties:
+ build-days-to-keep: '{build-days-to-keep}'
+ artifact-num-to-keep: '{artifact-num-to-keep}'
+
+ wrappers:
+ - lf-infra-wrappers:
+ build-timeout: '{build-timeout}'
+ jenkins-ssh-credential: '{jenkins-ssh-credential}'
+
+ # default values
+ release: master
+ build-node: 'voltha-scale'
+
+ project-type: pipeline
+ concurrent: false
+
+ dsl: !include-raw-escape: pipeline/{pipeline-script}
+
+ parameters:
+ - string:
+ name: release
+ default: '{release}'
+ description: 'Version of the code to test (matches a branch in kind-voltha and voltha-system-tests repos)'
+
+ - string:
+ name: buildNode
+ default: '{build-node}'
+ description: 'Name of the Jenkins node to run the job on'