相关文章推荐
Create
cancel
Showing results for
Search instead for
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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

 
推荐文章