Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to update test results in TM4J from jenkins automation run?

Question: I want to update my test case results (already created in TM4J ) after my automation run finish (scripts created using Selenium and Java, Jenkins job)


1. I have automation suite created using Selenium, Java using Maven and TestNG.

2. I have jenkins job running the automation suite. In jenkins job we are using  "Pipeline scripts from SCM" to generate the report and we use a custom format report to publist the report in a communication channel.


What I am trying to achieve?

If suppose I have 10 test cases automated, I want to update the results of those 10 test cases in TM4J based on the execution result meaning if my 7 scripts pass and 3 failed I want to update 7 test case results as Pass and 3 as fail in TM4J.

What I have done so far:

I read few links and I have added Test Management for Jira plugin to Jenkins. I have pipeline code to generate the test results in the json file as part of my jenkin file Post build action. How can I read this json file to publish the test case results in TM4J in this automation.  Any help will be really appreciate.

1 answer

did you find an answer to your question?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Marketplace Apps & Integrations

Jira issue check and more advanced commit verifications for Bitbucket DC

Pre-receive hooks that verify the Git commit message, the modified files, and implement similar code change controls used to be requirements of large enterprises working in regulated industries only....

44 views 0 2
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you