[VOL-5358] - build & test repo using new AMI image
On branch dev-joey
Changes to be committed:
(use "git restore --staged <file>..." to unstage)
modified: jjb/pipeline/voltha/bbsim-tests.groovy
modified: jjb/verify/voltha-openolt-adapter.yaml
Change-Id: Idbd1ec657a82e3d8a5c3c1ae88df90a607dc32d7
diff --git a/jjb/pipeline/voltha/bbsim-tests.groovy b/jjb/pipeline/voltha/bbsim-tests.groovy
index b1c8b17..398e32d 100644
--- a/jjb/pipeline/voltha/bbsim-tests.groovy
+++ b/jjb/pipeline/voltha/bbsim-tests.groovy
@@ -549,6 +549,7 @@
}
stages {
+
stage('Download Code') {
steps {
enter('getVolthaCode')
@@ -602,6 +603,28 @@
// -----------------------------------------------------------------------
// -----------------------------------------------------------------------
+ stage('Install kubectl')
+ {
+ steps
+ {
+ script
+ {
+ String cmd = [
+ 'make',
+ '--no-print-directory',
+ '-C', "$WORKSPACE",
+ "KUBECTL_PATH=\"$WORKSPACE/bin\"",
+ 'kubectl',
+ ].join(' ')
+
+ println(" ** Running: ${cmd}")
+ sh("${cmd}")
+ } // script
+ } // steps
+ } // stage
+
+ // -----------------------------------------------------------------------
+ // -----------------------------------------------------------------------
stage('Install Tools') {
steps {
script {