Skip to content
This repository was archived by the owner on Oct 30, 2020. It is now read-only.

Commit 7be4d99

Browse files
author
Paulo Baima
committed
Fix on Variable name
1 parent c04aeb0 commit 7be4d99

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

unify-release-build-task/src/models/AzureDevOpsConfiguration.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,9 @@ export default class AzureDevOpsConfiguration implements IAzureDevOpsConfigurati
2828
this.definition5 = variableManager.getInput('definition5', false)!;
2929
this.releaseOnCancel = variableManager.getBooleanInput('releaseOnCancel', true)!;
3030
this.releaseOnError = variableManager.getBooleanInput('releaseOnError', true)!;
31-
this.teamFoundationCollectionUri = variableManager.getVariable("SYSTEM_TEAMFOUNDATIONCOLLECTIONURI")!;
32-
this.teamFoundationProject = variableManager.getVariable("SYSTEM_TEAMPROJECT")!;
33-
this.accessToken = variableManager.getVariable("SYSTEM_ACCESSTOKEN")!;
34-
this.currentBuildId = parseInt(variableManager.getVariable("BUILD_BUILDID")!);
31+
this.teamFoundationCollectionUri = variableManager.getVariable("System.TeamFoundationCollectionUri")!;
32+
this.teamFoundationProject = variableManager.getVariable("System.TeamProject")!;
33+
this.accessToken = variableManager.getVariable("System.AccessToken")!;
34+
this.currentBuildId = parseInt(variableManager.getVariable("Build.BuildId")!);
3535
}
36-
3736
}

0 commit comments

Comments
 (0)