Skip to content

Commit

Permalink
defect #1444155: Fix issue with unknown change type on commits, and a…
Browse files Browse the repository at this point in the history
…dded logs
  • Loading branch information
nissimshitrit committed Dec 8, 2021
1 parent 5fa6f76 commit 2e8bce7
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 7 deletions.
6 changes: 5 additions & 1 deletion src/services/scm/ScmBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,11 @@ export class ScmBuilder {
projectName: string, buildNumber: number, repoId: string, sourceBranchName: string,
tl: any, logger: LogUtils): Promise<ScmData> {
function convertType(changeType: number): string {
return VersionControlChangeType[changeType].toLowerCase();
if(VersionControlChangeType[changeType]) {
return VersionControlChangeType[changeType].toLowerCase();
}
logger.warn('Change type was not found: ' + changeType);
return 'none';
}

function convertGitType(changeType: string): string {
Expand Down
2 changes: 1 addition & 1 deletion templates/private/Tasks/EndTask/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"version": {
"Major": "1",
"Minor": "18",
"Patch": "4"
"Patch": "6"
},
"minimumAgentVersion": "2.170.1",
"instanceNameFormat": "ALM Octane Job End",
Expand Down
2 changes: 1 addition & 1 deletion templates/private/Tasks/StartTask/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"version": {
"Major": "1",
"Minor": "18",
"Patch": "4"
"Patch": "6"
},
"minimumAgentVersion": "2.170.1",
"instanceNameFormat": "ALM Octane Job Start",
Expand Down
3 changes: 3 additions & 0 deletions templates/private/overview.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# ALM Octane Integration with Azure DevOps Services
## 0.4.1.5 version Release notes
* Fix issue with unknown change type on commits, and added logs

## 0.4.1.4 version Release notes
* Added support for Gherkin injection
* Various other improvements, including bug fixes and logs
Expand Down
2 changes: 1 addition & 1 deletion templates/private/vss-extension.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifestVersion": 1,

"id": "alm-octane-integration",
"version": "0.4.1.4",
"version": "0.4.1.6",
"name": "ALM Octane Integration Private Extension",
"description": "Beta version. An Azure DevOps extension that supplies the required entities for establishing an integration with ALM Octane.",
"publisher": "almoctane",
Expand Down
2 changes: 1 addition & 1 deletion templates/public/Tasks/EndTask/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"version": {
"Major": "1",
"Minor": "8",
"Patch": "3"
"Patch": "4"
},
"minimumAgentVersion": "2.170.1",
"instanceNameFormat": "ALM Octane Job End",
Expand Down
2 changes: 1 addition & 1 deletion templates/public/Tasks/StartTask/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"version": {
"Major": "1",
"Minor": "8",
"Patch": "3"
"Patch": "4"
},
"minimumAgentVersion": "2.170.1",
"instanceNameFormat": "ALM Octane Job Start",
Expand Down
3 changes: 3 additions & 0 deletions templates/public/overview.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# ALM Octane Integration with Azure DevOps Services
## 0.2.5.5 version Release notes
* Fix issue with unknown change type on commits, and added logs

## 0.2.5.4 version Release notes
* Added support for Gherkin injection
* Various other improvements, including bug fixes and logs
Expand Down
2 changes: 1 addition & 1 deletion templates/public/vss-extension.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifestVersion": 1,
"id": "alm-octane-integration-public",
"version": "0.2.5.4",
"version": "0.2.5.5",
"name": "ALM Octane Integration Extension",
"description": "Tech Preview. An Azure DevOps extension that supplies the required entities for establishing an integration with ALM Octane.",
"publisher": "almoctane",
Expand Down

0 comments on commit 2e8bce7

Please sign in to comment.