Closed Janos893 closed 2 years ago
Can you please replicate this without using this maven plugin. In other words,
Now I understood you... sorry.
So, the thing is the test
task fails and then it aborts the build.
This command should make the task proceed and ignore failures.
mvn test -Dmaven.test.failure.ignore=true
If you don't want the build to pass but still want the xray:import-results to proceed, this may work.
mvn clean test xray:import-results --fail-at-end
Please let me know if any or both of these approaches worked
Just for reference: https://stackoverflow.com/questions/4174696/making-maven-run-all-tests-even-when-some-fail
The -Dmaven.test.failure.ignore=true command is working. The --fail-at-end as well as the --fail-never commands are not working.
Thank you for your help.
Hi!
I have been using the plugin with Cucumber framework.
When I execute a test from the command line and the commands is in one line (e.g. mvn clean test xray:import-results) and there are failed scenarios, then the import does not work. If there are not any failed scenarios it works.
Of course,the commands are working after each other.
Configuration:
Reproduction:
The import works in this case (the commands in two line):
Thanks for your help.