setting version to install on siab jobs
Change-Id: Idfb05e0ed6dc356ded8a97681477a39efee6e5c2
diff --git a/jjb/pipeline/siab-test.groovy b/jjb/pipeline/siab-test.groovy
index 4a5cac0..98198ba 100644
--- a/jjb/pipeline/siab-test.groovy
+++ b/jjb/pipeline/siab-test.groovy
@@ -58,7 +58,7 @@
steps {
sh """
pushd $WORKSPACE/cord/automation-tools/seba-in-a-box
- make
+ make ${params.version}
popd
"""
}
diff --git a/jjb/pipeline/siab.groovy b/jjb/pipeline/siab.groovy
index 8d39454..7e839a2 100644
--- a/jjb/pipeline/siab.groovy
+++ b/jjb/pipeline/siab.groovy
@@ -39,7 +39,7 @@
steps {
sh """
pushd $WORKSPACE/automation-tools/seba-in-a-box
- make
+ make ${params.version}
popd
"""
}
diff --git a/jjb/siab.yaml b/jjb/siab.yaml
index 2a87e90..454653f 100644
--- a/jjb/siab.yaml
+++ b/jjb/siab.yaml
@@ -139,6 +139,11 @@
description: 'PatchSet number in Gerrit'
- string:
+ name: version
+ default: 'latest'
+ description: 'Latest | Stable'
+
+ - string:
name: Test_Tags
default: 'TESTTAGS=test1'
description: ''