{
  "id": "6C731C3C-3C68-459A-A5C9-BDE6E6595B5B",
  "name": "Bash",
  "friendlyName": "ms-resource:loc.friendlyName",
  "description": "ms-resource:loc.description",
  "helpUrl": "https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/bash",
  "helpMarkDown": "ms-resource:loc.helpMarkDown",
  "category": "Utility",
  "visibility": [
    "Build",
    "Release"
  ],
  "runsOn": [
    "Agent",
    "DeploymentGroup"
  ],
  "author": "Microsoft Corporation",
  "version": {
    "Major": 3,
    "Minor": 268,
    "Patch": 1
  },
  "releaseNotes": "ms-resource:loc.releaseNotes",
  "minimumAgentVersion": "2.115.0",
  "instanceNameFormat": "ms-resource:loc.instanceNameFormat",
  "showEnvironmentVariables": true,
  "groups": [
    {
      "name": "advanced",
      "displayName": "ms-resource:loc.group.displayName.advanced",
      "isExpanded": false
    }
  ],
  "inputs": [
    {
      "name": "targetType",
      "type": "radio",
      "label": "ms-resource:loc.input.label.targetType",
      "required": false,
      "defaultValue": "filePath",
      "helpMarkDown": "ms-resource:loc.input.help.targetType",
      "options": {
        "filePath": "File Path",
        "inline": "Inline"
      }
    },
    {
      "name": "filePath",
      "type": "filePath",
      "label": "ms-resource:loc.input.label.filePath",
      "visibleRule": "targetType = filePath",
      "required": true,
      "defaultValue": "",
      "helpMarkDown": "ms-resource:loc.input.help.filePath"
    },
    {
      "name": "arguments",
      "type": "string",
      "label": "ms-resource:loc.input.label.arguments",
      "visibleRule": "targetType = filePath",
      "required": false,
      "defaultValue": "",
      "helpMarkDown": "ms-resource:loc.input.help.arguments"
    },
    {
      "name": "script",
      "type": "multiLine",
      "label": "ms-resource:loc.input.label.script",
      "visibleRule": "targetType = inline",
      "required": true,
      "defaultValue": "# Write your commands here\n\necho 'Hello world'\n",
      "properties": {
        "resizable": "true",
        "rows": "10",
        "maxLength": "5000"
      },
      "helpMarkDown": ""
    },
    {
      "name": "workingDirectory",
      "type": "filePath",
      "label": "ms-resource:loc.input.label.workingDirectory",
      "defaultValue": "",
      "required": false,
      "groupName": "advanced"
    },
    {
      "name": "failOnStderr",
      "type": "boolean",
      "label": "ms-resource:loc.input.label.failOnStderr",
      "defaultValue": "false",
      "required": false,
      "helpMarkDown": "ms-resource:loc.input.help.failOnStderr",
      "groupName": "advanced"
    },
    {
      "name": "bashEnvValue",
      "type": "string",
      "label": "ms-resource:loc.input.label.bashEnvValue",
      "defaultValue": "",
      "required": false,
      "helpMarkDown": "ms-resource:loc.input.help.bashEnvValue",
      "groupName": "advanced"
    }
  ],
  "execution": {
    "Node10": {
      "target": "bash.js",
      "argumentFormat": ""
    },
    "Node16": {
      "target": "bash.js",
      "argumentFormat": ""
    },
    "Node20_1": {
      "target": "bash.js",
      "argumentFormat": ""
    },
    "Node24": {
      "target": "bash.js",
      "argumentFormat": ""
    }
  },
  "messages": {
    "GeneratingScript": "ms-resource:loc.messages.GeneratingScript",
    "JS_ExitCode": "ms-resource:loc.messages.JS_ExitCode",
    "JS_ExitCode_137": "ms-resource:loc.messages.JS_ExitCode_137",
    "JS_FormattedCommand": "ms-resource:loc.messages.JS_FormattedCommand",
    "JS_InvalidFilePath": "ms-resource:loc.messages.JS_InvalidFilePath",
    "JS_ScriptContents": "ms-resource:loc.messages.JS_ScriptContents",
    "JS_Stderr": "ms-resource:loc.messages.JS_Stderr",
    "JS_TranslatePathFailed": "ms-resource:loc.messages.JS_TranslatePathFailed",
    "JS_BashEnvAlreadyDefined": "ms-resource:loc.messages.JS_BashEnvAlreadyDefined",
    "ScriptArgsSanitized": "ms-resource:loc.messages.ScriptArgsSanitized"
  }
}