Workaround patch for QTIP Jenkins Job failure 77/4177/2
authorNauman_Ahad <Nauman_Ahad@dell.com>
Thu, 10 Dec 2015 08:33:47 +0000 (13:33 +0500)
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>
Thu, 10 Dec 2015 10:24:49 +0000 (10:24 +0000)
fetch-os-cred.sh to put opnfv-stack.sh file in workspace
fetch-os-cred.sh to put opnfv-source.sh in $HOME commented

Change-Id: Id53267affb2b1fb446298c7667d16118d076ee3f
Signed-off-by: Nauman_Ahad <Nauman_Ahad@dell.com>
jjb/qtip/qtip.yml

index c08b1ca..8860745 100644 (file)
       - 'qtip-ssl-parallel'
 
     triggers:
-      - timed: "@midnight"
+      - timed: '0 0,11,18 * * *'
 
 ###########################
 #biuilder macros
     builders:
         - shell: |
             #! /bin/bash
-            if [[ ! -f $WORKSPACE/opnfv-openrc.sh ]]; then
-               echo "Unable to access file $WORKSPACE/opnfv-openrc.sh"
+            if [[ ! -f $WORKSPACE/opnfv-stack.sh ]]; then
+               echo "Unable to access file $WO:qRKSPACE/opnfv-openrc.sh"
                exit 1
             fi
-            source $WORKSPACE/opnfv-openrc.sh
+            source $WORKSPACE/opnfv-stack.sh
             cd $WORKSPACE
             echo "Running QTIP dhrystone with First Test case"
             python qtip.py -s compute -b dhrystone_serial.yaml
     builders:
         - shell: |
             #!/bin/bash
-            if [[ ! -f $WORKSPACE/opnfv-openrc.sh ]]; then
+            if [[ ! -f $WORKSPACE/opnfv-stack.sh ]]; then
                echo "Unable to access file $WORKSPACE/opnfv-openrc.sh"
                exit 1
             fi
-            source $WORKSPACE/opnfv-openrc.sh
+            source $WORKSPACE/opnfv-stack.sh
             cd $WORKSPACE
             echo "Running QTIP dhrystone with Second Test case"
             python qtip.py -s compute -b ssl_parallel.yaml
             cd $WORKSPACE
             git clone https://gerrit.opnfv.org/gerrit/releng
             cd $WORKSPACE/releng/utils
-            ./fetch_os_creds.sh                  #To test the problem with creating the file in $HOME
-            ./fetch_os_creds.sh -d $WORKSPACE    #To test if  the file can be created in $WORKSPACE
+            #./fetch_os_creds.sh                  #To test the problem with creating the file in $HOME
+            ./fetch_os_creds.sh -d $WORKSPACE/opnfv-stack.sh    #To test if  the file can be created in $WORKSPACE