Merge "Doctor doc scripts adapted to project needs"
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>
Fri, 15 May 2015 12:03:21 +0000 (12:03 +0000)
committerGerrit Code Review <gerrit@172.30.200.206>
Fri, 15 May 2015 12:03:21 +0000 (12:03 +0000)
jjb/functest/functest.yml
jjb/genesis/genesis-foreman.yml

index c4dfe4e..7def724 100644 (file)
     name: functest-all
     builders:
         - shell: |
+            echo "Functest: prepare Functest environment"
+            source $HOME/functest/opnfv-openrc.sh
+            python $HOME/functest/config_functest.py start
             echo "Functest: run Functest suites"
-            python $HOME/.functest/run_rally.py all
-            python $HOME/.functest/run_rally.py smoke
+            python $HOME/.functest/Rally_test/run_rally.py all
+            python $HOME/.functest/Rally_test/run_rally.py tempest smoke
             python $HOME/.functest/vPing/vPing.py
             $HOME/.functest/ODL/start_tests.sh
+            echo "Functest: clean Functest environment"
+            python $HOME/functest/config_functest.py clean
+
index d5fe121..8da3279 100644 (file)
 
     node: ericsson-build
 
+    disabled: true
+
     parameters:
         - genesis-parameters:
             installer: '{installer}'
           - project: 'genesis-{installer}-build'
             git-revision: true
             block: true
+        - trigger-builds:
           - project: 'genesis-{installer}-deploy'
             git-revision: true
             block: true
+        - trigger-builds:
           - project: 'functest-opnfv-jump-2'
             block: true
 
 
     project-type: freestyle
 
+    disabled: true
+
     node: opnfv-jump-2
 
     logrotate:
             /bin/cp -f $WORKSPACE/opnfv.properties $WORKSPACE/latest.properties
 
             # upload artifact and additional files to google storage
-            gsutil cp $BUILD_DIRECTORY/OPNFV-CentOS-7-x86_64-$OPNFV_ARTIFACT_VERSION.iso gs://$GS_URL/opnfv-$OPNFV_ARTIFACT_VERSION.iso
-            gsutil cp $WORKSPACE/opnfv.properties gs://$GS_URL/opnfv-$OPNFV_ARTIFACT_VERSION.properties
-            gsutil cp $WORKSPACE/latest.properties gs://$GS_URL/latest.properties
+            gsutil cp $BUILD_DIRECTORY/OPNFV-CentOS-7-x86_64-$OPNFV_ARTIFACT_VERSION.iso gs://$GS_URL/opnfv-$OPNFV_ARTIFACT_VERSION.iso > gsutil.iso.log 2>&1
+            gsutil cp $WORKSPACE/opnfv.properties gs://$GS_URL/opnfv-$OPNFV_ARTIFACT_VERSION.properties > gsutil.properties.log 2>&1
+            gsutil cp $WORKSPACE/latest.properties gs://$GS_URL/latest.properties > gsutil.latest.log 2>&1
 
             echo
             echo "--------------------------------------------------------"