<reponame>puagarwa/azure-pipelines-tasks
{
  "id": "0B0F01ED-7DDE-43FF-9CBB-E48954DAF9B1",
  "name": "PublishTestResults",
  "friendlyName": "ms-resource:loc.friendlyName",
  "description": "ms-resource:loc.description",
  "helpUrl": "https://docs.microsoft.com/azure/devops/pipelines/tasks/test/publish-test-results",
  "helpMarkDown": "ms-resource:loc.helpMarkDown",
  "category": "Test",
  "visibility": [
    "Build",
    "Release"
  ],
  "author": "Microsoft Corporation",
  "version": {
    "Major": 2,
    "Minor": 152,
    "Patch": 0
  },
  "demands": [],
  "releaseNotes": "ms-resource:loc.releaseNotes",
  "minimumAgentVersion": "2.0.0",
  "groups": [
    {
      "name": "advanced",
      "displayName": "ms-resource:loc.group.displayName.advanced",
      "isExpanded": false
    }
  ],
  "inputs": [
    {
      "name": "testRunner",
      "aliases": [
        "testResultsFormat"
      ],
      "type": "pickList",
      "label": "ms-resource:loc.input.label.testRunner",
      "defaultValue": "JUnit",
      "required": true,
      "helpMarkDown": "ms-resource:loc.input.help.testRunner",
      "options": {
        "JUnit": "JUnit",
        "NUnit": "NUnit",
        "VSTest": "VSTest",
        "XUnit": "XUnit",
        "CTest": "CTest"
      }
    },
    {
      "name": "testResultsFiles",
      "type": "multiLine",
      "label": "ms-resource:loc.input.label.testResultsFiles",
      "defaultValue": "**/TEST-*.xml",
      "required": true,
      "helpMarkDown": "ms-resource:loc.input.help.testResultsFiles",
      "properties": {
        "rows": "3",
        "resizable": "true"
      }
    },
    {
      "name": "searchFolder",
      "type": "string",
      "label": "ms-resource:loc.input.label.searchFolder",
      "defaultValue": "$(System.DefaultWorkingDirectory)",
      "required": false,
      "helpMarkDown": "ms-resource:loc.input.help.searchFolder"
    },
    {
      "name": "mergeTestResults",
      "type": "boolean",
      "label": "ms-resource:loc.input.label.mergeTestResults",
      "defaultValue": "false",
      "required": false,
      "helpMarkDown": "ms-resource:loc.input.help.mergeTestResults"
    },
    {
      "name": "failTaskOnFailedTests",
      "type": "boolean",
      "label": "ms-resource:loc.input.label.failTaskOnFailedTests",
      "defaultValue": "false",
      "required": false,
      "helpMarkDown": "ms-resource:loc.input.help.failTaskOnFailedTests"
    },
    {
      "name": "testRunTitle",
      "type": "string",
      "label": "ms-resource:loc.input.label.testRunTitle",
      "defaultValue": "",
      "required": false,
      "helpMarkDown": "ms-resource:loc.input.help.testRunTitle"
    },
    {
      "name": "platform",
      "aliases": [
        "buildPlatform"
      ],
      "type": "string",
      "label": "ms-resource:loc.input.label.platform",
      "defaultValue": "",
      "required": false,
      "groupName": "advanced",
      "helpMarkDown": "ms-resource:loc.input.help.platform"
    },
    {
      "name": "configuration",
      "aliases": [
        "buildConfiguration"
      ],
      "type": "string",
      "label": "ms-resource:loc.input.label.configuration",
      "defaultValue": "",
      "required": false,
      "groupName": "advanced",
      "helpMarkDown": "ms-resource:loc.input.help.configuration"
    },
    {
      "name": "publishRunAttachments",
      "type": "boolean",
      "label": "ms-resource:loc.input.label.publishRunAttachments",
      "defaultValue": "true",
      "required": false,
      "helpMarkDown": "ms-resource:loc.input.help.publishRunAttachments",
      "groupName": "advanced"
    }
  ],
  "instanceNameFormat": "ms-resource:loc.instanceNameFormat",
  "execution": {
    "Node": {
      "target": "publishtestresults.js",
      "argumentFormat": ""
    }
  },
  "messages": {
    "NoMatchingFilesFound": "ms-resource:loc.messages.NoMatchingFilesFound",
    "ErrorTestResultsPublisher": "ms-resource:loc.messages.ErrorTestResultsPublisher",
    "ErrorFailTaskOnFailedTests": "ms-resource:loc.messages.ErrorFailTaskOnFailedTests"
  }
}