Apex: Includes multiple fixes for master 29/13629/1
authorTim Rozet <trozet@redhat.com>
Tue, 3 May 2016 17:48:49 +0000 (13:48 -0400)
committerTim Rozet <trozet@redhat.com>
Tue, 3 May 2016 17:48:49 +0000 (13:48 -0400)
Changes include:
 - Fixes build directory for master
 - Disables smoke test temporarily
 - Disables Brahmaputra daily

Change-Id: If5cead0f42dab1f063f762f5d1650bfcd0cd9160
Signed-off-by: Tim Rozet <trozet@redhat.com>
jjb/apex/apex.yml

index 6dbea1a..fc0fd4b 100644 (file)
               OPNFV_CLEAN=yes
             git-revision: false
             block: true
-        - trigger-builds:
-          - project: 'functest-apex-{slave}-suite-{stream1}'
-            predefined-parameters: |
-              DEPLOY_SCENARIO=os-nosdn-nofeature-ha
-              FUNCTEST_SUITE_NAME=vping_userdata
-            block: true
+#        - trigger-builds:
+#          - project: 'functest-apex-{slave}-suite-{stream1}'
+#            predefined-parameters: |
+#              DEPLOY_SCENARIO=os-nosdn-nofeature-ha
+#              FUNCTEST_SUITE_NAME=vping_userdata
+#            block: true
         - 'apex-workspace-cleanup'
 
 - job-template:
     #     branch:    branch (eg. stable)
     node: '{slave}'
 
-    disabled: false
+    disabled: true
 
     scm:
         - git-scm:
         - trigger-builds:
           - project: 'apex-deploy-virtual-nosdn-nofeature-ha-{stream1}'
             predefined-parameters: |
-              BUILD_DIRECTORY=apex-build-{stream1}/build_output
+              BUILD_DIRECTORY=apex-build-{stream1}
               OPNFV_CLEAN=yes
             git-revision: true
             block: true
             # start the build
             cd $WORKSPACE/ci
             ./build.sh $BUILD_ARGS
-            RPM_VERSION=$(grep Version $BUILD_DIRECTORY/../build/opnfv-apex.spec | awk '{ print $2 }')-$(echo $OPNFV_ARTIFACT_VERSION | tr -d '_-')
+            RPM_VERSION=$(grep Version $BUILD_DIRECTORY/build/opnfv-apex.spec | awk '{ print $2 }')-$(echo $OPNFV_ARTIFACT_VERSION | tr -d '_-')
             # list the contents of BUILD_OUTPUT directory
             ls -al $BUILD_DIRECTORY
             # save information regarding artifact into file
                   echo "BUILD DIRECTORY modified to $BUILD_DIRECTORY"
                 fi
 
-                if [[ -f ${BUILD_DIRECTORY}/../opnfv.properties ]]; then
+                if [[ -f ${BUILD_DIRECTORY}/opnfv.properties ]]; then
                     # if opnfv.properties exists then use the
                     # local build. Source the file so we get local OPNFV vars
-                    source ${BUILD_DIRECTORY}/../opnfv.properties
+                    source ${BUILD_DIRECTORY}/opnfv.properties
                     RPM_INSTALL_PATH=${BUILD_DIRECTORY}/$(basename $OPNFV_RPM_URL)
                 else
                     if [[ $BUILD_DIRECTORY == *verify* ]]; then