Merge "Documentation build scripts for Doctor project"
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>
Mon, 11 May 2015 12:54:40 +0000 (12:54 +0000)
committerGerrit Code Review <gerrit@172.30.200.206>
Mon, 11 May 2015 12:54:41 +0000 (12:54 +0000)
jjb/functest/functest.yml
jjb/octopus/octopus.yml
jjb/parser/docu-build.sh
jjb/prediction/docu-build.sh
jjb/promise/docu-build.sh

index 27f082c..c4dfe4e 100644 (file)
@@ -1,7 +1,11 @@
 - project:
     name: functest
 
+    pod:
+        - 'opnfv-jump-1'
+        - 'opnfv-jump-2'
     jobs:
+        - 'functest-{pod}'
         - 'functest-openstack-bench-test'
         - 'functest-openstack-tempest-smoke-test'
         - 'functest-odl-test'
         - shell: |
             python $HOME/.functest/vPing/vPing.py
 
+- job-template:
+    name: functest-{pod}
+
+    project-type: freestyle
+
+    node: '{pod}'
+
+    logrotate:
+        daysToKeep: 30
+        numToKeep: 10
+        artifactDaysToKeep: -1
+        artifactNumToKeep: -1
+
+    builders:
+        - 'functest-all'
+
 - job-template:
     name: 'functest-daily-{stream}'
 
         - shell:
             !include-raw docu-build.sh
 
+# macros
+- builder:
+    name: functest-all
+    builders:
+        - shell: |
+            echo "Functest: run Functest suites"
+            python $HOME/.functest/run_rally.py all
+            python $HOME/.functest/run_rally.py smoke
+            python $HOME/.functest/vPing/vPing.py
+            $HOME/.functest/ODL/start_tests.sh
index 459ba7a..db35515 100644 (file)
@@ -18,8 +18,6 @@
 - job-template:
     name: octopus-test
 
-    node: master
-
     project-type: freestyle
 
     logrotate:
 - job-template:
     name: 'octopus-merge'
 
+    node: master
+
     # builder-merge job to run JJB update
     #
     # This job's purpose is to update all the JJB
index 7358118..583654c 100644 (file)
@@ -44,7 +44,7 @@ done
 
 images=()
 while read -r -d ''; do
-        images+=("$REPLY)
+        images+=("$REPLY")
 done < <(find * -type f \( -iname \*.jpg -o -iname \*.png \) -print0)
 
 for img in "${{images[@]}}"; do
index 7358118..583654c 100644 (file)
@@ -44,7 +44,7 @@ done
 
 images=()
 while read -r -d ''; do
-        images+=("$REPLY)
+        images+=("$REPLY")
 done < <(find * -type f \( -iname \*.jpg -o -iname \*.png \) -print0)
 
 for img in "${{images[@]}}"; do
index 7358118..583654c 100644 (file)
@@ -44,7 +44,7 @@ done
 
 images=()
 while read -r -d ''; do
-        images+=("$REPLY)
+        images+=("$REPLY")
 done < <(find * -type f \( -iname \*.jpg -o -iname \*.png \) -print0)
 
 for img in "${{images[@]}}"; do