From 878d38941df56e0392cb652efe3c5996592e7f39 Mon Sep 17 00:00:00 2001 From: RajithaY Date: Mon, 6 Mar 2017 18:48:31 +0530 Subject: This patch includes building of the kernel rpm's for the commit id provided in apex.conf file and renaming of the kernel rpm's in the format kvmfornfv-commitid-apex-kernel-[devel/header]-4.4.6_rt14_centos.x86_64.rpm Change-Id: Id36eec6a577ac92b436a68f975fc1293c04ab97d Co-Authored by: Navya Bathula Signed-off-by:RajithaY --- ci/envs/utils.sh | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'ci/envs') diff --git a/ci/envs/utils.sh b/ci/envs/utils.sh index 89df273ac..5e4f1c470 100755 --- a/ci/envs/utils.sh +++ b/ci/envs/utils.sh @@ -39,4 +39,16 @@ function getQemuVersion { fi echo ${RPMVERSION} } - +#Check RPM names to continue the execution of testcases +function checkRPMNames { + rpm_dir="/root/workspace/rpm" + if [ -d "$WORKSPACE" ];then + cd $WORKSPACE/build_output 2>/dev/null;RPMCOUNT=`ls kvmfornfv-* | wc -l` + if [ $RPMCOUNT -ne 0 ];then + echo "Testcases are not executed for apex_build" + exit 0 + else + echo "Continue test execution" + fi + fi +} -- cgit 1.2.3-korg