voltha-test: replace inline dsl scripts with pipeline-scm script source

* this is a first step to allow the usage of git branches to reference
  different and release specific versions of pipeline scripts by
  pulling them in via pipeline-scm (as reference) instead of
  dereferencing them during the jjb pipeline definition and therefore
  including the hardcoded script within each pipeline
* this commit intentionally only targets the voltha-test nightly
  pipelines to avoid any impact of this change on other pipelines (e.g.
  scale or e2e) which are maintained and refactored separately
* add common scm definition to allow referencing the ci-management repo
  by name in each job-template
* replace 'dsl' for pipeline script reference with pipeline-scm (those
  are mutually exclusive) and replace relative script path with absolute
  path of pipeline script within the ci-mangement repo

Signed-off-by: Jan Klare <jan.klare@bisdn.de>
Change-Id: Idac4c9ccfeaac5490fe90a7a52be6dd422d6895b
diff --git a/jjb/voltha-test/voltha-nightly-jobs.yaml b/jjb/voltha-test/voltha-nightly-jobs.yaml
index dee324a..7e6bf40 100644
--- a/jjb/voltha-test/voltha-nightly-jobs.yaml
+++ b/jjb/voltha-test/voltha-nightly-jobs.yaml
@@ -1,4 +1,12 @@
 ---
+# define git source for pipeline-scripts used by jenkins job builder
+- scm:
+    name: ci-management
+    scm:
+      - git:
+          url: https://gerrit.opencord.org/ci-management
+          branches:
+            - origin/master
 # list of parameters for the VOLTHA Jobs,
 # used as anchor so that can be shared across multiple jobs
 # to use in a job: `parameters: *voltha-build-job-parameters`
@@ -253,7 +261,10 @@
 
     concurrent: true
     project-type: pipeline
-    dsl: !include-raw-escape: ../pipeline/{pipeline-script}
+    pipeline-scm:
+      script-path: jjb/pipeline/{pipeline-script}
+      scm:
+        - ci-management
 
 # -----------------------------------------------------------------------
 # VOLTHA Build Jobs (periodic)
@@ -297,7 +308,10 @@
 
     concurrent: true
     project-type: pipeline
-    dsl: !include-raw-escape: ../pipeline/{pipeline-script}
+    pipeline-scm:
+      script-path: jjb/pipeline/{pipeline-script}
+      scm:
+        - ci-management
 
     triggers:
       - timed: |
@@ -346,7 +360,10 @@
 
     concurrent: true
     project-type: pipeline
-    dsl: !include-raw-escape: ../pipeline/{pipeline-script}
+    pipeline-scm:
+      script-path: jjb/pipeline/{pipeline-script}
+      scm:
+        - ci-management
 
     triggers:
       - timed: |
@@ -492,7 +509,10 @@
     concurrent: true
 
     project-type: pipeline
-    dsl: !include-raw-escape: ../pipeline/{pipeline-script}
+    pipeline-scm:
+      script-path: jjb/pipeline/{pipeline-script}
+      scm:
+        - ci-management
 
     triggers:
       - reverse:
@@ -637,7 +657,10 @@
     concurrent: true
 
     project-type: pipeline
-    dsl: !include-raw-escape: ../pipeline/{pipeline-script}
+    pipeline-scm:
+      script-path: jjb/pipeline/{pipeline-script}
+      scm:
+        - ci-management
 
     triggers:
       - reverse:
@@ -776,7 +799,10 @@
     concurrent: true
 
     project-type: pipeline
-    dsl: !include-raw-escape: ../pipeline/{pipeline-script}
+    pipeline-scm:
+      script-path: jjb/pipeline/{pipeline-script}
+      scm:
+        - ci-management
 
     triggers:
       - timed: |
@@ -920,7 +946,10 @@
     concurrent: true
 
     project-type: pipeline
-    dsl: !include-raw-escape: ../pipeline/{pipeline-script}
+    pipeline-scm:
+      script-path: jjb/pipeline/{pipeline-script}
+      scm:
+        - ci-management
 
 # -----------------------------------------------------------------------
 # VOLTHA DMI Test Job
@@ -1162,7 +1191,10 @@
 
     concurrent: true
     project-type: pipeline
-    dsl: !include-raw-escape: ../pipeline/{pipeline-script}
+    pipeline-scm:
+      script-path: jjb/pipeline/{pipeline-script}
+      scm:
+        - ci-management
 
     triggers:
       - timed: |