Jenkins 2.39 upgrade to Jenkins 2.42 with an error during build.
Recording test results
ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?
Finished: FAILURE
No changes have been made during this period, except to upgrade the local gradle from 2.11 to Gradle 3.3
Go to the project configuration selection and find the red prompt.
According to Jenkins:
'build/test-results/*.xml' doesn't match anything: 'build' exists but not 'build/test-results/*.xml'
Fileset ‘includes’ setting that specifies the generated raw XML report files, such as ‘myproject/target/test-reports/*.xml’. Basedir of the fileset is the workspace root.
Modified the Settings format by
build/test-results/*.xml
Instead of
build/test-results/**/*.xml
Rebuild and pass.
The format of reference:
http://ant.apache.org/manual/Types/patternset.html
Read More:
- import org.junit.Test And @ test error reporting — solutions
- Spring configuration transaction, JUnit unit test error “failed to load ApplicationContext”
- The usage of Java JUnit unit test and the solution of initialization error
- Junit4 unit test reports an error invalid project specified
- Optimization and upgrade solution for one click deployment without Jenkins under Linux
- Jenkins docker push to harbor to report error
- Android studio failed to resolve: junit:junit : 4.12 solutions
- When generating a test report in HTML format, report [typeerror: a bytes like object is required, not ‘STR’]
- org.junit.platform.commons.JUnitException: TestEngine with ID ‘junit-vintage‘ failed to discover tes
- [Solved] Failed to resolve org.junit.platform:junit-platform-launcher:1.7.2
- Failed to resolve org.junit.platform:junit-platform-launcher:1.7.0
- Pychart remote debugging display picture, tkagg error report troubleshooting
- Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (default-test)
- How to Fix “junit.framework.Comparison Failure Expected: but was”
- Clion configuration MingGW report error test cmake run with errors solution
- Python normality test: test whether the data obey the normal distribution
- Solution to a Jenkins serious error recorded by automation platform
- CONDA upgrade command: upgrade CONDA, anaconda and various packages
- Troubleshooting of errors in installing elasticsearch
- Maven skip unit test- maven.test.skip And skipstests