X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=jenkins%2Friftware%2Fstart_build;h=0e3101f5632ffd467ddbee5d7094dd8dafc458b5;hb=refs%2Fchanges%2F65%2F265%2F1;hp=a7826abe8d5aaee76fcbe4e1d670dc64e8d8be1f;hpb=19215383cc752f3693e0a6ed6633a3f9951d4a21;p=osm%2Fdevops.git diff --git a/jenkins/riftware/start_build b/jenkins/riftware/start_build index a7826abe..0e3101f5 100755 --- a/jenkins/riftware/start_build +++ b/jenkins/riftware/start_build @@ -29,15 +29,27 @@ if [ -d riftware ]; then cd riftware git pull else + INFO "install pre-requisites" + yum install -y yum-utils curl + curl -o /etc/yum.repos.d/release.repo http://buildtracker.riftio.com/repo_file/fc20/OSM/ + yum install -y --nogpgcheck rw.tools-container-tools rw.tools-scripts + /usr/rift/container_tools/mkcontainer --modes build --internet --latest --repofile /usr/rift/container_tools/riftware.repo + + INFO "cloning MDG riftware from $OSM_GIT_URL/riftware" + # these were missing once, so just to be safe, install them again here + yum -y install cmake wget lcov git clone $OSM_GIT_URL/riftware cd riftware - INFO "install pre-requisites" - bash ./scripts/vm_image/mkvmimg --container --modes build fi -INFO "no build script yet" -RC=1 +./rift-shell -r -- make rw.ext +RC=$? + +if [ $RC == 0 ]; then + ./rift-shell -r -- make -j16 + RC=$? +fi INFO "done RC = $RC" exit $RC