From 493ba4e488089485e6dd5b858fa154b4844babce Mon Sep 17 00:00:00 2001 From: Joseph Flinn Date: Mon, 14 Dec 2020 19:27:23 +0000 Subject: [PATCH] checking out specific commit (for historical builds) --- azure-pipelines.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 1f8ebb0cb0..5275076781 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -18,7 +18,8 @@ steps: versionSpec: '10.x' displayName: 'Install Node.js' -- checkout: $(GIT_COMMIT_TO_BUILD) +- script: git checkout $(GIT_COMMIT_TO_BUILD) + displayName: setup commit to build - script: npm install displayName: 'npm install'