David Caro has uploaded a new change for review. Change subject: Improve cleanup to avoid failures ......................................................................
Improve cleanup to avoid failures Change-Id: I9121e0b104a15a67b94f2f17a2827c75e33c576d Signed-off-by: David Caro <dcaro...@redhat.com> --- M jobs/ovirt-engine_upgrade_stable_to_3.4/cleanup.sh 1 file changed, 2 insertions(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/jenkins refs/changes/58/26858/1 diff --git a/jobs/ovirt-engine_upgrade_stable_to_3.4/cleanup.sh b/jobs/ovirt-engine_upgrade_stable_to_3.4/cleanup.sh index 3fe8d2b..a933c10 100755 --- a/jobs/ovirt-engine_upgrade_stable_to_3.4/cleanup.sh +++ b/jobs/ovirt-engine_upgrade_stable_to_3.4/cleanup.sh @@ -99,8 +99,9 @@ enable_engine_repos() { local disabled_repos_list="${1?}" local repo - [[ -f "$disabled_repos_list" ]] || return + [[ -f "$disabled_repos_list" ]] || return 0 while read -r repo; do + [[ -f "$repo" ]] || continue sed -i 's/enabled=0/enabled=1/g' "${repo}" done < "$disabled_repos_list" } -- To view, visit http://gerrit.ovirt.org/26858 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I9121e0b104a15a67b94f2f17a2827c75e33c576d 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