2018 up to now | 2017 | 2016 | 2015 | 2014 | 2013 | 2012

Mailing List - Entries from 2018 up to now


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [QF-Test] Access QF-Test test failure statistics from Jenkins


  • Subject: Re: [QF-Test] Access QF-Test test failure statistics from Jenkins
  • From: Ralf Pfiszter <ralf.pfiszter@?.at>
  • Date: Mon, 7 May 2018 10:26:59 +0200
  • Delivered-to: qftest-list@?.net

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
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