Cannot detect file type because of error, and : Failed to copy Build step 'Publish Performance test result report' changed build result to FAILURE Finished: FAILURE. whenever i run the script always i face this..
Asked
Active
Viewed 4,461 times
1 Answers
-1
Take a look into Jenkins Console Output - it should give you the reason for the failure.
Most probably the Performance Plugin fails to find JMeter's .jtl results file in Jenkins Workspace, either the .jtl results file is missing or you're pointing the Performance Plugin to the incorrect location.
If you have a Script step to run a JMeter test like:
jmeter -n -t test.jmx -l result.jtl
You should be able to use simply result.jtl
in the Performance Plugin.
Check out:
- Performance Trend Reporting
- How to Use the Jenkins Performance Plugin
- and Running Performance Tests articles for more details on various aspects of Jenkins Performance Plugin use cases.

Dmitri T
- 159,985
- 5
- 83
- 133