David Caro has uploaded a new change for review.

Change subject: Fixing multiple src rpms build
......................................................................

Fixing multiple src rpms build

On fc21 it seems that building more than one src rpm at a time breaks, now it
should build them one by one.

Change-Id: I52f340135af03b89abd963acbd1155597fbc09c6
Signed-off-by: David Caro <dcaro...@redhat.com>
---
M jobs/confs/shell-scripts/mock_build_onlyrpm.sh
1 file changed, 9 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/jenkins refs/changes/75/35675/1

diff --git a/jobs/confs/shell-scripts/mock_build_onlyrpm.sh 
b/jobs/confs/shell-scripts/mock_build_onlyrpm.sh
index 2c52ebe..8128906 100644
--- a/jobs/confs/shell-scripts/mock_build_onlyrpm.sh
+++ b/jobs/confs/shell-scripts/mock_build_onlyrpm.sh
@@ -120,9 +120,12 @@
 
 ### Build the rpms
 echo "##### Building the rpms"
-$my_mock \
-    "${{mock_build_options[@]}}" \
-    --rebuild \
-    --no-clean \
-    --resultdir=$WORKSPACE/exported-artifacts \
-    "$WORKSPACE"/exported-artifacts/*.src.rpm
+for srcrpm in "$WORKSPACE"/exported-artifacts/*.src.rpm; do
+    echo "     Building $srcrpm"
+    $my_mock \
+        "${{mock_build_options[@]}}" \
+        --rebuild \
+        --no-clean \
+        --resultdir=$WORKSPACE/exported-artifacts \
+        "$srcrpm"
+done


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I52f340135af03b89abd963acbd1155597fbc09c6
Gerrit-PatchSet: 1
Gerrit-Project: jenkins
Gerrit-Branch: master
Gerrit-Owner: David Caro <dcaro...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to