Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the ability to distinguish the source of task issues. #19466

Merged
Merged
Show file tree
Hide file tree
Changes from 54 commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
3142d58
Added the ability to distinguish issues between internal issues and c…
Jan 8, 2024
6ca097b
Merge branch 'master' into users/v-denikulin/customer-issue-for-scrip…
Jan 16, 2024
2e99229
Updated SDK versions.
Jan 17, 2024
634c360
Adapted the task changes for the new task-lib version.
Jan 17, 2024
cc3b7d1
Updated SDK versions.
Jan 19, 2024
b0bb028
Updated task-lib version
Jan 22, 2024
6921c14
Updated task versions.
Jan 23, 2024
3712245
Updated the task lib in the Python task.
Jan 23, 2024
9928660
Updated the PowerShellV5 task.
Jan 23, 2024
dd87bc9
Updated the AzurePowerShellV4 task.
Jan 24, 2024
1ed24a2
Updated the AzurePowerShellV3 task.
Jan 24, 2024
5d42717
Updated the AzurePowerShellV2 task.
Jan 24, 2024
e72151f
Updated AzureCLIV2 task.
Jan 24, 2024
e61984f
Updated the AzureCLIV1 task.
Jan 24, 2024
d79d53e
Updated the ShellScriptV2 task.
Jan 24, 2024
902c367
Updated the PowerShellOnTargetMachines tasks.
Jan 25, 2024
4b4b5c4
Updated the SSH task.
Jan 25, 2024
ef0a9a1
Small fix.
Jan 25, 2024
0428eba
Merge branch 'master' into users/v-denikulin/customer-issue-for-scrip…
Jan 25, 2024
228c05f
Fixed PowerShellV2 dependencies.
Jan 26, 2024
be27077
PowerShell test fix #1.
Jan 26, 2024
20135db
Merge branch 'master' into users/v-denikulin/customer-issue-for-scrip…
Jan 29, 2024
d180ce8
Fixed L0 tests for PowerShell task
Jan 29, 2024
054a450
Updated PowerShell task version.
Jan 29, 2024
51ffe4c
Updated the Bash task
Jan 29, 2024
bb8b532
Updated the Bash tests.
Jan 29, 2024
5f3f1dd
Updated the CmdLineV2 task.
Jan 29, 2024
a93623c
Updated PythonV0 task.
Jan 29, 2024
6e8b3a4
Updated the ShellScriptV2.
Jan 29, 2024
d0fda3f
Updated VstsTask sdk for the CmdLine task.
Jan 30, 2024
ea248f6
Updated the _generated folder.
Jan 30, 2024
e446e23
Updated the SshV0 task.
Jan 30, 2024
bc4ffc5
Updated the AzureCLIV1 task.
Jan 30, 2024
fd7fb6d
Updated the AzureCLIV2 task.
Jan 30, 2024
c189772
Updated the AzurePowerShellV2 task.
Jan 30, 2024
fe18659
Updated the AzurePowerShellV3 task.
Jan 30, 2024
b2860f4
Updated the AzurePowerShellV4 task.
Jan 30, 2024
d24627a
Updated the AzurePowerShellV5 task.
Jan 30, 2024
e6d52a7
Updated the PowerShellOnTargetMachinesV2 task.
Jan 30, 2024
f550930
Updated the PowerShellOnTargetMachinesV3 task.
Jan 30, 2024
5b052eb
Merge branch 'master' into users/v-denikulin/customer-issue-for-scrip…
DenisNikulin5 Jan 30, 2024
bc11b09
Moved the changes to the separated build config.
Jan 31, 2024
adfc56e
Reverted the _generated changes.
Jan 31, 2024
fc8ad13
Merge branch 'master' into users/v-denikulin/customer-issue-for-scrip…
Jan 31, 2024
6bf01e9
Reverted the _generated folder #2.
Jan 31, 2024
cc8bca8
Dependency fix
Jan 31, 2024
a95936a
Fixed the build config.
Jan 31, 2024
0c5201e
Fixed the build config #2.
Feb 1, 2024
88184d2
Merge branch 'master' into users/v-denikulin/customer-issue-for-scrip…
Feb 1, 2024
4567311
Re-generated tasks.
Feb 1, 2024
bcbe9d9
Fixed the conditional compilation for the new build config.
Feb 1, 2024
072680b
Small fix.
Feb 1, 2024
c8f5264
Merge branch 'master' into users/v-denikulin/customer-issue-for-scrip…
DenisNikulin5 Feb 5, 2024
84a2b22
Reverted the commits that added a build configuration.
Feb 6, 2024
e95b00f
Merge branch 'master' into users/v-denikulin/customer-issue-for-scrip…
Feb 21, 2024
762567c
Removed default 'TaskInternal' issue sources.
Feb 21, 2024
2859cd8
Changed the versions, removed default issue sources.
Feb 22, 2024
f99c8b4
Merge branch 'master' into users/v-denikulin/customer-issue-for-scrip…
DenisNikulin5 Feb 26, 2024
8528d30
Bumped the task-lib version.
DenisNikulin5 Feb 27, 2024
728e4ab
Merge branch 'master' into users/v-denikulin/customer-issue-for-scrip…
DenisNikulin5 Feb 27, 2024
3eb647a
Bumped the ShellScriptV2 task version.
DenisNikulin5 Feb 27, 2024
679d6c1
Merge branch 'master' into users/v-denikulin/customer-issue-for-scrip…
DenisNikulin5 Feb 28, 2024
94b496d
Merge branch 'master' into users/v-denikulin/customer-issue-for-scrip…
DenisNikulin5 Feb 28, 2024
8640c2e
Bumped the SshV0 task version.
DenisNikulin5 Feb 28, 2024
58d5838
Merge branch 'master' into users/v-denikulin/customer-issue-for-scrip…
DenisNikulin5 Feb 29, 2024
ecdc1da
Merge branch 'master' into users/v-denikulin/customer-issue-for-scrip…
DenisNikulin5 Feb 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
324 changes: 110 additions & 214 deletions Tasks/AzureCLIV1/_buildConfigs/Node20/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Tasks/AzureCLIV1/_buildConfigs/Node20/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@types/node": "^20.3.1",
"@types/q": "1.0.7",
"azure-devops-node-api": "^12.0.0",
"azure-pipelines-task-lib": "^4.1.0"
"azure-pipelines-task-lib": "^4.8.2"
},
"devDependencies": {
"typescript": "5.1.6"
Expand Down
8 changes: 4 additions & 4 deletions Tasks/AzureCLIV1/azureclitask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,15 +216,15 @@ export class azureclitask {
}
catch (err) {
// task should not fail if logout doesn`t occur
tl.warning(tl.loc("FailedToLogout"));
tl.warning(tl.loc("FailedToLogout"), tl.IssueSource.TaskInternal);
}
}

private static throwIfError(resultOfToolExecution: IExecSyncResult, errormsg?: string): void {
if (resultOfToolExecution.code != 0) {
tl.error("Error Code: [" + resultOfToolExecution.code + "]");
tl.error("Error Code: [" + resultOfToolExecution.code + "]", tl.IssueSource.TaskInternal);
if (errormsg) {
tl.error("Error: " + errormsg);
tl.error("Error: " + errormsg, tl.IssueSource.TaskInternal);
}
throw resultOfToolExecution;
}
Expand Down Expand Up @@ -280,7 +280,7 @@ export class azureclitask {
return auth.parameters['AccessToken'];
}
else {
tl.warning('Could not determine credentials to use');
tl.warning('Could not determine credentials to use', tl.IssueSource.TaskInternal);
}
}
}
Expand Down
Loading