Difference between revisions of "ScriptType:"

From wikieduonline
Jump to navigation Jump to search
(Created page with "{{lowercase}} == See also == * {{Azure Pipelines}} Category:Azure")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
  
 +
<ref>https://github.com/microsoft/azure-pipelines-tasks/blob/master/Tasks/AzureCLIV2/task.json</ref>
 +
<pre>
 +
    {
 +
            "name": "scriptType",
 +
            "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 ==

Latest revision as of 06:00, 17 February 2022

[1]

     {
            "name": "scriptType", 
            "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[edit]

  • https://github.com/microsoft/azure-pipelines-tasks/blob/master/Tasks/AzureCLIV2/task.json
  • Advertising: