From ae3b4603eabe509047d9c51d480a7bdb9d982675 Mon Sep 17 00:00:00 2001 From: Alexander Bien Date: Tue, 28 May 2024 08:41:24 +0200 Subject: [PATCH] Umstellung E-Mail-Testfallprotokoll von PDF auf Excel --- superx/WEB-INF/conf/edustore/db/bin/qa_tc_execution_mail.x | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/superx/WEB-INF/conf/edustore/db/bin/qa_tc_execution_mail.x b/superx/WEB-INF/conf/edustore/db/bin/qa_tc_execution_mail.x index 2e6f350..85f5e38 100755 --- a/superx/WEB-INF/conf/edustore/db/bin/qa_tc_execution_mail.x +++ b/superx/WEB-INF/conf/edustore/db/bin/qa_tc_execution_mail.x @@ -22,8 +22,8 @@ cd $WEBAPP/WEB-INF #echo CMD -cp "$JDBC_CLASSPATH" $JAVA_OPTS de.superx.bin.ExecuteMask -tid:$MASKEN_TID -out:$FILE_DIR/$FILE_NAME.pdf -user:admin "-params:${MASK_PARAM}&stylesheet=tabelle_fo_pdf.xsl&contenttype=application/pdf" -logger:$SUPERX_DIR/db/conf/logging.properties -# PDF -java -cp "$JDBC_CLASSPATH" $JAVA_OPTS de.superx.bin.ExecuteMask -tid:$MASKEN_TID -out:$FILE_DIR/$FILE_NAME.pdf -user:admin "-params:${MASK_PARAM}&stylesheet=tabelle_37020_mit_summary.jrxml&contenttype=application/pdf" -logger:$SUPERX_DIR/db/conf/logging.properties +# XLSX +java -cp "$JDBC_CLASSPATH" $JAVA_OPTS de.superx.bin.ExecuteMask -tid:$MASKEN_TID -out:$FILE_DIR/$FILE_NAME.xlsx -user:admin "-params:${MASK_PARAM}&Zusammenfassung=0&stylesheet=tabelle_37020_mit_summary.jrxml&contenttype=application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" -logger:$SUPERX_DIR/db/conf/logging.properties #HTML java -cp "$JDBC_CLASSPATH" $JAVA_OPTS de.superx.bin.ExecuteMask -tid:$MASKEN_TID -out:$FILE_DIR/$FILE_NAME.htm -user:admin "-params:${MASK_PARAM}&Zusammenfassung=1&stylesheet=tabelle_37020_mit_summary.jrxml&contenttype=text/html" -logger:$SUPERX_DIR/db/conf/logging.properties @@ -44,6 +44,6 @@ export F_ANZ=$(grep -c Fehler $FILE_DIR/$FILE_NAME.csv) #Mail Versand -cat $FILE_DIR/$FILE_NAME.htm | $MAILPROG -s "Testfall-Protokoll | $W_ANZ Warnungen | $F_ANZ Fehler" -M "text/html" -a $FILE_DIR/$FILE_NAME.pdf "${LOGMAIL}" +cat $FILE_DIR/$FILE_NAME.htm | $MAILPROG -s "Testfall-Protokoll | $W_ANZ Warnungen | $F_ANZ Fehler" -M "text/html" -a $FILE_DIR/$FILE_NAME.xlsx "${LOGMAIL}"