+++ /dev/null
-#!/bin/bash
-# SPDX-License-Identifier: EPL-1.0
-##############################################################################
-# Copyright (c) 2018 The Linux Foundation and others.
-#
-# All rights reserved. This program and the accompanying materials
-# are made available under the term s of the Eclipse Public License
-# v1.0 accompanies testing this distribution with Netvirt jobs, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-##############################################################################
-echo "---> quagga-build.sh"
-
-set -e -x
-
-# The script builds 6wind/quagga source and binary packages from zrpcd
-# repository for testing router functionalities with Netvirt jobs, .
-
-pushd "$(pwd)/zrpcd"
-
-chmod a+x "$(pwd)/pkgsrc/dev_compile_script.sh"
-cd "$(pwd)/pkgsrc" && sudo "./dev_compile_script.sh" -p -d -b -v "$QUAGGA_VERSION"
-
-# Move packages into a that will be uploaded to Nexus
-UPLOAD_FILES_PATH="$WORKSPACE/upload_files"
-mkdir -p "$UPLOAD_FILES_PATH"
-
-OS=$(facter operatingsystem)
-
-case "$OS" in
- Ubuntu)
- mv "$WORKSPACE/zrpcd/pkgsrc/"*.deb "$UPLOAD_FILES_PATH" || true
- ;;
- CentOS|RedHat)
- mv "$WORKSPACE/zrpcd/pkgsrc/"*.rpm "$UPLOAD_FILES_PATH" || true
- ;;
- *)
- # nothing to do
- ;;
-esac
-
-popd
-
-# todo: remove below lines once the scripts in zrpcd repos build the src packages.
-# Ref: https://lists.opendaylight.org/pipermail/integration-dev/2018-July/012330.html
-tar cvzf "$WORKSPACE/upload_files/zrpcd.$(date +%F).tar.gz" "$(pwd)/zrpcd"