From cbdfd800b0883bd0f0419b4ba9d5136e4ab815a3 Mon Sep 17 00:00:00 2001 From: "shamrao shinde, sumedh" Date: Fri, 8 Nov 2024 07:16:41 +0000 Subject: [PATCH] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 92b625e..27f180a 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -19,7 +19,7 @@ stages: - checkout: self - script: | - echo "##vso[task.setvariable variable=shortCommitSha]$(Build.SourceVersion.SHA.Substring(0, 8))" + echo "##vso[task.setvariable variable=shortCommitSha]$(echo $(Build.SourceVersion) | cut -c1-8)" displayName: 'Set Short Commit SHA' - script: |