Add changelog to periodic jobs, run on Flex node

Change-Id: Ie1b7239092c35cbb5fb08068f98b311f954bcfd1
diff --git a/jjb/pipeline/voltha-go-tests.groovy b/jjb/pipeline/voltha-go-tests.groovy
index 916e037..b485696 100644
--- a/jjb/pipeline/voltha-go-tests.groovy
+++ b/jjb/pipeline/voltha-go-tests.groovy
@@ -42,6 +42,24 @@
   }
   stages {
 
+    stage('Repo') {
+      steps {
+        checkout(changelog: true,
+          poll: false,
+          scm: [$class: 'RepoScm',
+            manifestRepositoryUrl: "${params.manifestUrl}",
+            manifestBranch: "${params.manifestBranch}",
+            currentBranch: true,
+            destinationDir: 'voltha',
+            forceSync: true,
+            resetFirst: true,
+            quiet: true,
+            jobs: 4,
+            showAllChanges: true]
+          )
+      }
+    }
+
     stage('Download kind-voltha') {
       steps {
         sh """
diff --git a/jjb/voltha-e2e.yaml b/jjb/voltha-e2e.yaml
index e95cca0..840fda0 100644
--- a/jjb/voltha-e2e.yaml
+++ b/jjb/voltha-e2e.yaml
@@ -9,8 +9,9 @@
     jobs:
       - 'voltha-periodic-test':
           name: 'periodic-voltha-sanity-test'
-          pipeline-script: 'voltha-go-tests.groovy'
+          build-node: 'qct-pod4-node2'
           default-image-tag: 'master'
+          code-branch: 'master'
           make-target: sanity-multi-kind
           onus: 2
           pons: 2
@@ -18,8 +19,9 @@
 
       - 'voltha-periodic-test':
           name: 'periodic-voltha-scale-test'
-          pipeline-script: 'voltha-go-tests.groovy'
+          build-node: 'qct-pod4-node2'
           default-image-tag: 'master'
+          code-branch: 'master'
           make-target: scale-multi-kind
           onus: 2
           pons: 8
@@ -51,6 +53,7 @@
 - job-template:
     id: 'voltha-periodic-test'
     name: '{name}'
+    pipeline-script: 'voltha-go-tests.groovy'
 
     description: |
       <!-- Managed by Jenkins Job Builder -->
@@ -83,6 +86,16 @@
           default: '{make-target}'
           description: 'Makefile target to invoke during test'
 
+      - string:
+          name: manifestUrl
+          default: '{gerrit-server-url}/{voltha-test-manifest-repo}'
+          description: 'Repo manifest URL for code checkout (so we can display changes in Jenkins)'
+
+      - string:
+          name: manifestBranch
+          default: '{code-branch}'
+          description: 'Repo manifest branch for code checkout (so we can display changes in Jenkins)'
+
     project-type: pipeline
     concurrent: false