![]() In this example, we configured the task to extract the features from a set of issues (PROJ-78 and PROJ-79) to the folder that holds the Cucumber project. To start the configuration, add the build step Xray: Cucumber Features Export Task. Importing the execution results back to Jira.Executing the tests in the CI environment.Exporting Cucumber features from Jira to your Cucumber project.In a typical Cucumber Workflow, after having created a Cucumber project and the Cucumber tests specified in Jira, you may want to have a project that exports the features from Jira, executes the automated tests on a CI environment and then imports back its results.įor this scenario, the Jenkins project would be configured with a set of tasks responsible for: The Fix Version associated with the test execution (it supports only one value) Source code's revision being target by the Test Execution List of Test Environments separated by " " Key of the project where the Test Execution (if the T est Execution Key field wasn't provided) and the Tests (if they aren't created yet) are going to be created When this option is check, if you are importing multiple execution report files using a glob expression, the results will be imported to the same Test Execution Each ID is of the form " customfield_ID".Īnother option, which does not require Jira administration rights, is to invoke the "Get edit issue meta" in an existing issue (e.g., in a Test issue) as mentioned here. The custom field IDs can be obtained using the Jira REST API Browser tool included in Jira. As input, you can either specify issue keys (see the endpoint documentation for the server or cloud) or the ID of the saved filter in Jira. Some fields need to be configured in order to export the Cucumber Tests. It invokes Xray's Export Cucumber Tests REST API endpoint (see more information: server or cloud). The rules for exporting are defined here. This build step will export the Cucumber Tests (i.e., Scenario/Scenario Outlines) in. one build step which publishes the execution results back to Jira.one build step for importing Cucumber Tests from existing Cucumber features into Jira.one build step for exporting Cucumber Scenario/Scenario Outlines from Jira as.These need to be defined in the build configuration. Client Secret: obtained from Xray Cloud (more info here)īuild steps are the building blocks of the build process.Client ID: obtained from Xray Cloud (more info here).Configuration alias: a friendly name for the configuration.To add a new Jira Cloud connection, you need to specify some properties: The Jira Cloud configuration defines connections with Jira Cloud. This is accompanied by integration between the JetBrains plugin repository and TeamCity Server, with the ability to enable regular checks for updates.The user present in this configuration must exist in the JIRA instance and have permission to Create Test and Test Execution Issues Jira Cloud The use of plugins has been simplified, with users no longer needing to restart the server to enable installed plugins, or to install new ones. The firm said this change should ” greatly reduce the CPU load of the main TeamCity server” in certain situations at least. This builds on the previous “read only node” option. This secondary node takes on collecting and checking for changes from the version control system. The former comes in the form of an ability to add a second TeamCity node to take a load off the main server. In the release notes it highlighted increased scalability and the ability to install plugins without having to restart the server, amongst other features. The Czech-based firm firm said TeamCity 2018.2 was the second major release of the server this year. JetBrains has pushed out a major release of TeamCity, its continuous integration server, with new features including automatic blaming for test and build failures.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |