Perserve more p4c outputs
Include json files and logs to both PR and main branch
To analysis the PHV and MAU usage, we can use metrics.json and mau.json
from the P4 compiler.
Change-Id: I6ed2c8d17d68cafa1f0daae16a73d0478b7885ab
diff --git a/jjb/templates/fabric-tna-jobs.yaml b/jjb/templates/fabric-tna-jobs.yaml
index 114fceb..efabd3b 100644
--- a/jjb/templates/fabric-tna-jobs.yaml
+++ b/jjb/templates/fabric-tna-jobs.yaml
@@ -75,7 +75,7 @@
publishers:
- onf-infra-wscleanup-publisher
- archive:
- artifacts: '**/*.log,**/*.pcap'
+ artifacts: '**/*.log,**/*.pcap,**/*.json'
excludes: 'tmp/**/*'
- job-template:
@@ -154,3 +154,8 @@
publishers:
- github-notifier
- onf-infra-wscleanup-publisher
+ - archive:
+ # Preserve the build log so we can compare the resources between the main
+ # branch and the new pull request.
+ artifacts: '**/*.log,**/*.json'
+ excludes: 'tmp/**/*'