[node-patches] Change in ovirt-node-iso[master]: tweak the jenkins.sh script to detect release for el builds

mburns at redhat.com mburns at redhat.com
Fri Feb 22 22:48:53 UTC 2013


Michael Burns has uploaded a new change for review.

Change subject: tweak the jenkins.sh script to detect release for el builds
......................................................................

tweak the jenkins.sh script to detect release for el builds

Previously, there was a hard-coded fc in the release information.
Now, it checks for either fc or el.

Change-Id: I72ed8de46e09bcc5c98a33c319d477c042c0ff3c
Signed-off-by: Mike Burns <mburns at redhat.com>
---
M jenkins.sh
1 file changed, 1 insertion(+), 1 deletion(-)


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

diff --git a/jenkins.sh b/jenkins.sh
index f0a0bc6..7b191e3 100755
--- a/jenkins.sh
+++ b/jenkins.sh
@@ -50,7 +50,7 @@
 ONT_NAME=$(echo $OVIRT_NODE_RECIPE_RPM | sed -r 's/^([a-zA-Z0-9\-]+)-([a-zA-Z0-9\.]+)-([a-zA-Z0-9\.]+).noarch.rpm$/\1/')
 ONT_VERSION=$(echo $OVIRT_NODE_RECIPE_RPM | sed -r 's/^([a-zA-Z0-9\-]+)-([a-zA-Z0-9\.]+)-([a-zA-Z0-9\.]+).noarch.rpm$/\2/')
 ONT_RELEASE=$(echo $OVIRT_NODE_RECIPE_RPM | sed -r 's/^([a-zA-Z0-9\-]+)-([a-zA-Z0-9\.]+)-([a-zA-Z0-9\.]+).noarch.rpm$/\3/')
-ONT_BUILD_NUMBER=$(echo $ONT_RELEASE | sed -r 's/^[0-9]+\.(.*)\.fc[0-9]+$/\1./')
+ONT_BUILD_NUMBER=$(echo $ONT_RELEASE | sed -r 's/^[0-9]+\.(.*)\.[ef][lc][0-9]+$/\1./')
 if [ "$ONT_BUILD_NUMBER" = "$ONT_RELEASE" ]; then
     ONT_BUILD_NUMBER=""
 fi


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I72ed8de46e09bcc5c98a33c319d477c042c0ff3c
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