[node-patches] Change in ovirt-node-iso[master]: add handling for build_type option

mburns at redhat.com mburns at redhat.com
Thu Jan 3 23:18:10 UTC 2013


Michael Burns has uploaded a new change for review.

Change subject: add handling for build_type option
......................................................................

add handling for build_type option

this will let a build run against either stable, nightly, or beta
repos

Change-Id: I14936288b99dd76e30ddea93f286fbf3307ad156
Signed-off-by: Mike Burns <mburns at redhat.com>
---
M jenkins.sh
1 file changed, 5 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node-iso refs/changes/41/10641/1

diff --git a/jenkins.sh b/jenkins.sh
index c4b744f..f0a0bc6 100755
--- a/jenkins.sh
+++ b/jenkins.sh
@@ -56,13 +56,16 @@
 fi
 cd ${WORKSPACE}
 
+if [ -z "${BUILD_TYPE}" ]; then
+    BUILD_TYPE="STABLE"
+fi
+
 RECIPE_DIR=${WORKSPACE}/${RECIPE_RPM_NAME}/usr/share/${RECIPE_RPM_NAME}
 cp ${WORKSPACE}/${RECIPE_RPM_NAME}/usr/sbin/node-creator ${WORKSPACE}
 
 ./autogen.sh --with-recipe=${RECIPE_DIR} --with-build-number=${ONT_BUILD_NUMBER}${BUILD_NUMBER}
 
-make iso
-make publish
+make BUILD_TYPE=$BUILD_TYPE iso publish
 
 ISO_NAME=$(make verrel).iso
 # Get iso details


--
To view, visit http://gerrit.ovirt.org/10641
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I14936288b99dd76e30ddea93f286fbf3307ad156
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node-iso
Gerrit-Branch: master
Gerrit-Owner: Michael Burns <mburns at redhat.com>



More information about the node-patches mailing list