Increase the wait time for slave to come back to 180 seconds 96/1296/1
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>
Tue, 25 Aug 2015 07:28:36 +0000 (09:28 +0200)
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>
Tue, 25 Aug 2015 07:28:36 +0000 (09:28 +0200)
The Jenkins slave connection is not established within 90 seconds
so increasing the wait time to 180 seconds to have extra wait time.

Change-Id: I5941da7c2b655467ee1d4b4dfe1951d06d835ec6
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
jjb/genesis/genesis-foreman.yml
jjb/genesis/genesis-fuel.yml

index 6d1c5b1..1980a39 100644 (file)
             done
 
             if [ "$ping_flag" -eq 1 ]; then
-              echo "Slave is pingable, now wait 90 seconds for services to start"
-              sleep 90
+              echo "Slave is pingable, now wait 180 seconds for services to start"
+              sleep 180
             else
               echo "Slave did not come back up after reboot: please check opnfv-jump-2"
               exit 1
index f28896c..69aa895 100644 (file)
             git-revision: true
             block: true
         - trigger-builds:
-          - project: 'functest-opnfv-jump-1'
+          - project: 'functest-opnfv-jump-2'
             block: true
         - trigger-builds:
-          - project: 'yardstick-opnfv-jump-1'
+          - project: 'yardstick-opnfv-jump-2'
             block: true
 
 - job-template:
             done
 
             if [ "$ping_flag" -eq 1 ]; then
-              echo "Slave is pingable, now wait 90 seconds for services to start"
-              sleep 90
+              echo "Slave is pingable, now wait 180 seconds for services to start"
+              sleep 180
             else
               echo "Slave did not come back up after reboot: please check opnfv-jump-2"
               exit 1