Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to run scriptruner spock integration tests from maven?

Alin Oana
Contributor
November 24, 2025

I have written a bunch of Scriptrunner Spock integration tests (Test Your Code), which now, I would like to run from maven, when building my packages. The maven build is triggered from a github action.

How do I run these integration tests from maven?

I am aware of the Jira functionality and the intelij approach (Write and Run Tests) but this is not what I am looking for. I need a way to run them from mave.

 

If you can point me to a github repo, containing such examples, will be even better. 

Thanks

 

 

 

 

 

 

2 answers

Suggest an answer

Log in or Sign up to answer
0 votes
Ram Kumar Aravindakshan _Adaptavist_
Community Champion
February 16, 2026

Hi @Alin Oana

Please clarify, are you using when configuring your POM file which repository have you configured it to? Is it to the: https://nexus.adaptavist.net/content/repositories/external repository?    

If you intend to do this from Maven, there is no direct way to integrate it with Jira Cloud. It's only applicable for DC.

Looking forward to your feedback and clarification.

Thank you and Kind regards,
Ram

0 votes
Alin Oana
Contributor
December 4, 2025

At least, is there a way to get the code coverage report when calling the unit tests endpoint: /rest/scriptrunner/latest/canned/com.onresolve.scriptrunner.canned.common.admin.RunUnitTests ?   (Write and Run Tests)

 

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events