Jira is a tool developed by Atlassian company for managing and tracking the issues. Testing teams uses the same for managing the manual and automation tests.
Xray is a plugin that integrates easily with Jira and provides multiple options in managing manual and automation tests.
Below diagram depicts the flow of automation framework where Xray automation tests written in gherkin format are uploaded into Jira.
Test sets will be created by pulling tests into them. Similarly test execution sets will be created and all the test sets can be pulled into them.
Feature files with gherkin scenarios can be downloaded either manually or through automation. In order to have a continuous automation process download feature files using REST api to the local test automation folder.
Implement or automate application using cucumber and selenium driver.
In order to have a continuous integration, integrate the same with Team city or Jenkins. Have the entire code and framework setup in GIT and configure the same in Team city.
Configure builds and execute the same once the deployment is done.
Note: You may mention your comments below in case you need any assistance during implementation of the above framework.