Step-by-step guide

1 - Create a JSON file where you will define the key of the Test Set you want to link:


In this file, you can find:

2 - Then, go to Jenkins > Build > Choose the "Execute Windows batch command" option
3- Use this curl command

curl -H "Content-Type: multipart/form-data" -u user:password -F "file=@<featurefilename>.feature" -F "testInfo=@<jsonfilename>.json" "http://<serverURL>/rest/raven/1.0/import/feature?projectKey=<projectKey>"

Please note:


Link for related documentation


Importing Cucumber Tests - REST

Integration with Jenkins