Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-66156

Freestyle project configuration for Flaky test Handler plugin and "only run failing tests"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • Jenkins ver. 2.164.3
      Flaky Test Handler plugin 1.1.0

      I configure a freestyle project  and try to make it work with the flaky test handler plugin and the "only run failing tests" option.

      It's a freestyle project with a "'Invoke top-level Maven targets'" in build section.

      I configure the maven commande like this in the maven target :  

      -B -Dit.test=${test} -f ${LOCAL_PATH}\${STREAM}_AUTO\${TEST_PROJECT}\pom.xml ${SYSTEM_PROPERTIES} clean install site

      I run the job. I have junit report, and the "deflake action button". Then I click on it and select option "only run failing tests". 

      But in the maven builder commande line, the ${test} is not replaced with the generated parameter from flaky test handler plugin.

       

      I have also tried to get the "test" parameter througt a shell command, or a batch command, but the parameter is not replaced anywhere.

       

       

       

            scpeters Steve Peters
            elendrim Gregory
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: