[doctor] archive functest log after suite test
[releng.git] / jjb / doctor / doctor.yml
index 2010e12..4958ca2 100644 (file)
               TESTCASE_OPTIONS=-e INSPECTOR_TYPE=congress -v $WORKSPACE:$HOME/opnfv/repos/doctor
             block: true
             same-node: true
+
+    publishers:
+        - postbuildscript:
+            builders:
+                - functest-copy-suite-log:
+                    suite: '{project}'
+        - archive:
+            artifacts: '{project}.log'
+
+- builder:
+    name: functest-copy-suite-log
+    builders:
+        - shell: |
+            cp $HOME/opnfv/functest/results/${{GIT_BRANCH##*/}}/{suite}.log $WORKSPACE/