{"id":28719102,"url":"https://github.com/tng/jgiven-azure-plugin","last_synced_at":"2026-06-18T21:31:18.225Z","repository":{"id":39975554,"uuid":"405877296","full_name":"TNG/jgiven-azure-plugin","owner":"TNG","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-02T10:53:38.000Z","size":1069,"stargazers_count":0,"open_issues_count":5,"forks_count":1,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-06-15T05:42:27.108Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TNG.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-09-13T07:36:26.000Z","updated_at":"2025-05-02T10:53:42.000Z","dependencies_parsed_at":"2023-02-18T05:00:26.244Z","dependency_job_id":null,"html_url":"https://github.com/TNG/jgiven-azure-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TNG/jgiven-azure-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TNG%2Fjgiven-azure-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TNG%2Fjgiven-azure-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TNG%2Fjgiven-azure-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TNG%2Fjgiven-azure-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TNG","download_url":"https://codeload.github.com/TNG/jgiven-azure-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TNG%2Fjgiven-azure-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34508862,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-18T02:00:06.871Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-15T05:39:44.100Z","updated_at":"2026-06-18T21:31:18.212Z","avatar_url":"https://github.com/TNG.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Azure DevOps - Publish JGiven Reports\r\nThis extension enables users to publish JGiven HTML reports to a newly created tab inside the DevOps console, next to the `Summary` tab.\r\n\r\n# Usage\r\n## 1. Install the extension from the marketplace\r\nTo install the JGiven Extension, perform the following steps:\r\n* In Azure DevOps, navigate to *Organization Settings*.\r\n* Choose *Extensions*.\r\n* Click on *Browse marketplace*.\r\n* Search for *JGiven*, choose the extension and click on *Get*.\r\n\r\n\r\n## 2. Add a JGiven step in your Azure DevOps pipeline task\r\n\r\nTo activate the JGiven Extension, include the following step in your pipeline:\r\n```\r\n- script: ./gradlew -b build.gradle test\r\n  displayName: '${some_name_to_display}'\r\n```\r\nDepending on your projects structure it might be necessary to provide a path to `build.gradle`, for example `jgiven-repository/build.gradle`.\r\n\r\n## 3. Include a JGiven Task in your pipeline:\r\n\r\nAdd a task specification to your pipeline:\r\n```\r\n- task: publishjgivenreport@0\r\n    inputs:\r\n      jgivenReportPatterns: '${path_to_index.html} '**/html'\r\n      #workingDir: 'custom/working/dir' #if not set, default value is $(Build.SourcesDirectory)\r\n```\r\nThe `jgivenReportPatterns` contains the path to the folder where the file `index.html` is located.\r\nThe syntax for `jgivenReportPatterns` follows the Unix file name matcher mechanism. You may use wildcards such as `*` \r\nto match any number of characters or `**` to recursively match subdirectories.\r\n\r\nFor example, if `index.html` is included in a folder named `html5` the above task may include \r\n\r\n`jgivenReportPatterns: '**/html5'`\r\n\r\nFurther, jgivenReportPatterns supports input of multiple paths by separating the paths with a `#`, i.e.\r\n `jgivenReportPatterns: 'path_1#path_2#path_3'`\r\n\r\nIn case the working directory differs from `${Build.SourcesDirectory}` you may specify another working directory\r\nvia the `workingDir` parameter.\r\n\r\n## 4. Verification\r\n\r\nAfter executing the pipeline, a new tab in Azure DevOps will appear with content similar to\r\nthe following screenshot:\r\n![JGiven Panel in Dev Ops](https://raw.githubusercontent.com/TNG/jgiven-azure-plugin/master/resources/screenshot.png \"JGiven Dashboard\")\r\n\r\n# License\r\n\r\nThe JGiven Azure DevOps Plugin is published under the Apache License 2.0, see https://www.apache.org/licenses/LICENSE-2.0 or [LICENSE](https://github.com/TNG/jgiven-azure-plugin/blob/master/LICENSE) for details.\r\n\r\n# Contributing\r\nSee [CONTRIBUTING](https://github.com/TNG/jgiven-azure-plugin/blob/master/CONTRIBUTING.md)\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftng%2Fjgiven-azure-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftng%2Fjgiven-azure-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftng%2Fjgiven-azure-plugin/lists"}