diff options
author | RajithaY <rajithax.yerrumsetty@intel.com> | 2017-03-06 18:48:31 +0530 |
---|---|---|
committer | Navya Bathula <navyax.bathula@intel.com> | 2017-03-10 17:53:01 +0000 |
commit | 878d38941df56e0392cb652efe3c5996592e7f39 (patch) | |
tree | d7f76a991fa0ef1942172feeb03b2384bd8e9ec6 /ci/envs/utils.sh | |
parent | 77e6660ea78c5934e4b606a5342c4e0e64be1de6 (diff) |
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 <navyax.bathula@intel.com>
Signed-off-by:RajithaY<rajithax.yerrumsetty@intel.com>
Diffstat (limited to 'ci/envs/utils.sh')
-rwxr-xr-x | ci/envs/utils.sh | 14 |
1 files changed, 13 insertions, 1 deletions
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 +} |