-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add signal handling to the BashV3 task
- Loading branch information
1 parent
478b013
commit 2d94f04
Showing
38 changed files
with
816 additions
and
568 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,89 +1,89 @@ | ||
{ | ||
"id": "D9BAFED4-0B18-4F58-968D-86655B4D2CE9", | ||
"name": "CmdLine", | ||
"friendlyName": "Command line", | ||
"description": "Run a command line script using Bash on Linux and macOS and cmd.exe on Windows", | ||
"helpUrl": "https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/command-line", | ||
"helpMarkDown": "[Learn more about this task](https://go.microsoft.com/fwlink/?LinkID=613735)", | ||
"category": "Utility", | ||
"visibility": [ | ||
"Build", | ||
"Release" | ||
], | ||
"runsOn": [ | ||
"Agent", | ||
"DeploymentGroup" | ||
], | ||
"author": "Microsoft Corporation", | ||
"version": { | ||
"Major": 2, | ||
"Minor": 246, | ||
"Patch": 0 | ||
"id": "D9BAFED4-0B18-4F58-968D-86655B4D2CE9", | ||
"name": "CmdLine", | ||
"friendlyName": "Command line", | ||
"description": "Run a command line script using Bash on Linux and macOS and cmd.exe on Windows", | ||
"helpUrl": "https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/command-line", | ||
"helpMarkDown": "[Learn more about this task](https://go.microsoft.com/fwlink/?LinkID=613735)", | ||
"category": "Utility", | ||
"visibility": [ | ||
"Build", | ||
"Release" | ||
], | ||
"runsOn": [ | ||
"Agent", | ||
"DeploymentGroup" | ||
], | ||
"author": "Microsoft Corporation", | ||
"version": { | ||
"Major": 2, | ||
"Minor": 250, | ||
"Patch": 0 | ||
}, | ||
"releaseNotes": "Script task consistency. Added support for multiple lines.", | ||
"showEnvironmentVariables": true, | ||
"groups": [ | ||
{ | ||
"name": "advanced", | ||
"displayName": "Advanced", | ||
"isExpanded": false | ||
} | ||
], | ||
"inputs": [ | ||
{ | ||
"name": "script", | ||
"type": "multiLine", | ||
"label": "Script", | ||
"required": true, | ||
"defaultValue": "echo Write your commands here\n\necho Hello world\n", | ||
"properties": { | ||
"resizable": "true", | ||
"rows": "10", | ||
"maxLength": "5000" | ||
}, | ||
"helpMarkDown": "" | ||
}, | ||
{ | ||
"name": "workingDirectory", | ||
"type": "filePath", | ||
"label": "Working Directory", | ||
"defaultValue": "", | ||
"required": false, | ||
"groupName": "advanced" | ||
}, | ||
{ | ||
"name": "failOnStderr", | ||
"type": "boolean", | ||
"label": "Fail on Standard Error", | ||
"defaultValue": "false", | ||
"required": false, | ||
"helpMarkDown": "If this is true, this task will fail if any errors are written to the StandardError stream.", | ||
"groupName": "advanced" | ||
} | ||
], | ||
"instanceNameFormat": "Command Line Script", | ||
"execution": { | ||
"PowerShell3": { | ||
"target": "cmdline.ps1", | ||
"platforms": [ | ||
"windows" | ||
] | ||
}, | ||
"releaseNotes": "Script task consistency. Added support for multiple lines.", | ||
"showEnvironmentVariables": true, | ||
"groups": [ | ||
{ | ||
"name": "advanced", | ||
"displayName": "Advanced", | ||
"isExpanded": false | ||
} | ||
], | ||
"inputs": [ | ||
{ | ||
"name": "script", | ||
"type": "multiLine", | ||
"label": "Script", | ||
"required": true, | ||
"defaultValue": "echo Write your commands here\n\necho Hello world\n", | ||
"properties": { | ||
"resizable": "true", | ||
"rows": "10", | ||
"maxLength": "5000" | ||
}, | ||
"helpMarkDown": "" | ||
}, | ||
{ | ||
"name": "workingDirectory", | ||
"type": "filePath", | ||
"label": "Working Directory", | ||
"defaultValue": "", | ||
"required": false, | ||
"groupName": "advanced" | ||
}, | ||
{ | ||
"name": "failOnStderr", | ||
"type": "boolean", | ||
"label": "Fail on Standard Error", | ||
"defaultValue": "false", | ||
"required": false, | ||
"helpMarkDown": "If this is true, this task will fail if any errors are written to the StandardError stream.", | ||
"groupName": "advanced" | ||
} | ||
], | ||
"instanceNameFormat": "Command Line Script", | ||
"execution": { | ||
"PowerShell3": { | ||
"target": "cmdline.ps1", | ||
"platforms": [ | ||
"windows" | ||
] | ||
}, | ||
"Node10": { | ||
"target": "cmdline.js", | ||
"argumentFormat": "" | ||
}, | ||
"Node16": { | ||
"target": "cmdline.js", | ||
"argumentFormat": "" | ||
} | ||
"Node10": { | ||
"target": "cmdline.js", | ||
"argumentFormat": "" | ||
}, | ||
"messages": { | ||
"GeneratingScript": "Generating script.", | ||
"JS_ExitCode": "Bash exited with code '%s'.", | ||
"JS_Stderr": "Bash wrote one or more lines to the standard error stream.", | ||
"PS_ExitCode": "Cmd.exe exited with code '{0}'.", | ||
"PS_UnableToDetermineExitCode": "Unexpected exception. Unable to determine the exit code from cmd.exe.", | ||
"ScriptContents": "Script contents:" | ||
"Node16": { | ||
"target": "cmdline.js", | ||
"argumentFormat": "" | ||
} | ||
}, | ||
"messages": { | ||
"GeneratingScript": "Generating script.", | ||
"JS_ExitCode": "Bash exited with code '%s'.", | ||
"JS_Stderr": "Bash wrote one or more lines to the standard error stream.", | ||
"PS_ExitCode": "Cmd.exe exited with code '{0}'.", | ||
"PS_UnableToDetermineExitCode": "Unexpected exception. Unable to determine the exit code from cmd.exe.", | ||
"ScriptContents": "Script contents:" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
Default|3.246.0 | ||
Node20-225|3.246.1 | ||
Default|3.250.0 | ||
Node20-225|3.250.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.