Difference between revisions of "ScriptType:"

From wikieduonline
Jump to navigation Jump to search
(Created page with "{{lowercase}} == See also == * {{Azure Pipelines}} Category:Azure")
 
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
  
 +
<pre>
 +
    {
 +
            "name": "scriptType", <ref>https://github.com/microsoft/azure-pipelines-tasks/blob/master/Tasks/AzureCLIV2/task.json</ref>
 +
            "type": "pickList",
 +
            "label": "Script Type",
 +
            "defaultValue": "",
 +
            "required": true,
 +
            "helpMarkDown": "Type of script: PowerShell/PowerShell Core/Bat/Shell script. Select Shell/PowerShell Core script when running on Linux agent or Batch/PowerShell/PowerShell Core script when running on Windows agent. PowerShell Core script can run on cross-platform agents (Linux, macOS, or Windows).",
 +
            "options": {
 +
                "ps": "PowerShell",
 +
                "pscore": "PowerShell Core",
 +
                "batch": "Batch",
 +
                "bash": "Shell"
 +
            }
 +
        }
 +
</pre>
  
 
== See also ==
 
== See also ==

Revision as of 05:59, 17 February 2022

     {
            "name": "scriptType", <ref>https://github.com/microsoft/azure-pipelines-tasks/blob/master/Tasks/AzureCLIV2/task.json</ref>
            "type": "pickList",
            "label": "Script Type",
            "defaultValue": "",
            "required": true,
            "helpMarkDown": "Type of script: PowerShell/PowerShell Core/Bat/Shell script. Select Shell/PowerShell Core script when running on Linux agent or Batch/PowerShell/PowerShell Core script when running on Windows agent. PowerShell Core script can run on cross-platform agents (Linux, macOS, or Windows).",
            "options": {
                "ps": "PowerShell",
                "pscore": "PowerShell Core",
                "batch": "Batch",
                "bash": "Shell"
            }
        }

See also

Advertising: