The mailing list has been closed since July 2022, but continues to serve as an archive of information about QF-Test.
If you want to stay informed about news about QF-Test, you can simply subscribe to our newsletter:
Subscribe to Newsletter
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [QF-Test] Access QF-Test test failure statistics from Jenkins
Hi guys, this is also possible if you simply configure Publish JUnit-Test Result report. The a build will marked as failed if the Tests return errors. Best regards, Thomas ________________________________________________________________ Ralf Pfiszter wrote:
Hi John, yes - this is possible: we used this approach within our project. Without confirming to collect all information I note below a few points we did: * we defined a tag QFTEST_ERROR in the LogParserPublisher.xml <hudson.plugins.logparser.ParserRuleFile> <name>QFTEST_ERROR</name> <path>/var/lib/jenkins/qftest_parsing_rules</path> </hudson.plugins.logparser.ParserRuleFile> In the file we put the one line: warning /QFTEST FAILURE/ (We handle a QFTest failure only as warning but not as error) * For the jenkins job we created a script which calls the QFTest or QFTestSuite to execute which results in QFTEST SUCCESS or QFTEST FAILURE. This script we call in the jenkins job configuration element "execute shell" * In the "console ouput parsing" element we defined to use as parsing rule "QFTEST_ERROR" Hope this helps Mit freundlichen Grüßen / Kind regards / Sincères salutations Ralf Pfiszter ------------------------------------------------------------------------ apus | Software GmbH <www.apus.co.at> Paracelsusweg 1 | A-8144 Tobelbad +43 316 401629-311 | +43 664 88 67 62 90 www.apus.co.at | ralf.pfiszter@?.at Am 2018-05-04 um 15:41 schrieb Marshall, John:Hi, I’m launching QFTest from Jenkins, which performs a “Run QF-Test” build step to execute a QF-Test test suite (I’m using the QFTest 1.0.2 Jenkins plugin). I would like to either pass or fail the enclosing Jenkins job based on the result of the QFTest tests. Is that possible ? (For example, if greater than zero errors occurred when executing the QF-Test tests, fail the Jenkins job). Best regards, John Information in this e-mail and any attachments is confidential, and may not be copied or used by anyone other than the addressee, nor disclosed to any third party without our permission. There is no intention to create any legally binding contract or other binding commitment through the use of this electronic communication unless it is issued in accordance with the Experian Limited standard terms and conditions of purchase or other express written agreement between Experian Limited and the recipient. Although Experian has taken reasonable steps to ensure that this communication and any attachments are free from computer viruses, you are advised to take your own steps to ensure that they are actually virus free. Experian Ltd is authorised and regulated by the Financial Conduct Authority. Companies Act information: Registered name: Experian Limited. Registered office: The Sir John Peace Building, Experian Way, NG2 Business Park, Nottingham, NG80 1ZZ, United Kingdom. Place of registration: England and Wales. Registered number: 653331. _______________________________________________ qftest-list mailing list qftest-list@?.de https://movement.qfs.de/mailman/listinfo/qftest-list
-- -- _______________________________________________________________ Get the most out of QF-Test - Support directly from the authors * Training & consulting: www.qfs.de/en/qftest/training.html * Phone & email support: www.qfs.de/en/qftest/support.html _______________________________________________________________ Thomas Max Development & Support/Training/Consulting E: support@?.de T: +49 8171 38648-20 F: +49 8171 38648-16 Quality First Software GmbH | www.qfs.de Tulpenstr. 41 | 82538 Geretsried | Germany GF Gregor Schmid, Dr. Martina Schmid, Karlheinz Kellerer HRB München 140833