No errors logged and Test summary has no failure and error. But pipeline step is marked as Failed.
Maven Console Log:
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 48.563 s - in TestSuite
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ FrameworkCore2.0 ---
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar: C:\Users\xxxxx\atlassian-bitbucket-pipelines-runner\temp\965507bc-86c8-5f4a-af2c-8731bed4c82b\1670476923823\build\target\FrameworkCore2.0-0.0.2-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 58.683 s
[INFO] Finished at: 2022-12-07T23:26:16-06:00
[INFO] ------------------------------------------------------------------------
Build Teardown:
Skipping cache upload for failed step
Searching for test report files in directories named [failsafe-reports, TestResults, surefire-reports, test-reports, test-results] down to a depth of 4
Found matching test report file C:\Users\xxxxx\atlassian-bitbucket-pipelines-runner\bin\..\temp\965507bc-86c8-5f4a-af2c-8731bed4c82b\1670476923823\build\target\surefire-reports\junitreports\TEST-application.Driver.xml
Located test suite containing 1 tests, with 0 failures and 0 errors.
Found matching test report file C:\Users\xxxxx\atlassian-bitbucket-pipelines-runner\bin\..\temp\965507bc-86c8-5f4a-af2c-8731bed4c82b\1670476923823\build\target\surefire-reports\Suite\Test.xml
Located test suite containing 1 tests, with 0 failures and 0 errors.
Found matching test report file C:\Users\xxxxx\atlassian-bitbucket-pipelines-runner\bin\..\temp\965507bc-86c8-5f4a-af2c-8731bed4c82b\1670476923823\build\target\surefire-reports\TEST-TestSuite.xml
Located test suite containing 1 tests, with 0 failures and 0 errors.
Found matching test report file C:\Users\xxxxx\atlassian-bitbucket-pipelines-runner\bin\..\temp\965507bc-86c8-5f4a-af2c-8731bed4c82b\1670476923823\build\target\surefire-reports\testng-results.xml
Finished scanning for test reports. Found 4 test report files.
Merged test suites, total number tests is 3, with 0 failures and 0 errors.
Uploading test results
Finished uploading test results.
Hi @Sasitharan Govindharam and welcome to the community.
Is there any error message in the panel next to the build log that has the build number and commit hash?
Are you perhaps running a script that returns a non-zero exit code? A step will fail when a command returns a non-zero exit code.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.