cicd: Handle dut-gitlog

Add the DUT's gitlog to the report if it exists.
This commit is contained in:
Ben Greear
2020-05-18 12:44:06 -07:00
parent 14197d4d5b
commit f1f3c5c351
2 changed files with 18 additions and 4 deletions

View File

@@ -355,7 +355,13 @@ then
GITLOG=NA
fi
./lf_gui_report_summary.pl --title "$TEST_RIG_ID: $DUT_SW_VER" --dir $RSLTS_DIR --gitlog $GITLOG --notes $NOTES_HTML < index_template.html > $RSLTS_DIR/index.html
if [ "_${DUTGITLOG}" == "_" ]
then
DUTGITLOG=NA
fi
echo "Done with regression test."
echo "./lf_gui_report_summary.pl --title \"$TEST_RIG_ID: $DUT_SW_VER\" --dir $RSLTS_DIR --dutgitlog $DUTGITLOG --gitlog $GITLOG --notes $NOTES_HTML"
./lf_gui_report_summary.pl --title "$TEST_RIG_ID: $DUT_SW_VER" --dir $RSLTS_DIR --dutgitlog $DUTGITLOG --gitlog $GITLOG --notes $NOTES_HTML < index_template.html > $RSLTS_DIR/index.html
echo "Done with automated regression test."
echo "Results-Dir: $RSLTS_DIR"