Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/PowerShell/PowerShell.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2022-10-13 23:32:14 +0300
committerGitHub <noreply@github.com>2022-10-13 23:32:14 +0300
commite65ff98a04f00fbef90331105ff5a9e3c91b2ab1 (patch)
tree36cc10a2fabcbe8fdbae69c0d7ca42d77dc739bd
parent647398666e6a188bc403286e50659060528b50ae (diff)
[release/v7.3.0-rc.1] Add branch counter to compliance build (#18283)
Co-authored-by: travis plunk <github@ez13.net>
-rw-r--r--tools/releaseBuild/azureDevOps/templates/compliance/apiscan.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/releaseBuild/azureDevOps/templates/compliance/apiscan.yml b/tools/releaseBuild/azureDevOps/templates/compliance/apiscan.yml
index 0aa6c498f4..55a40f34e0 100644
--- a/tools/releaseBuild/azureDevOps/templates/compliance/apiscan.yml
+++ b/tools/releaseBuild/azureDevOps/templates/compliance/apiscan.yml
@@ -12,6 +12,10 @@ jobs:
# PAT permissions NOTE: Declare a SymbolServerPAT variable in this group with a 'microsoft' organizanization scoped PAT with 'Symbols' Read permission.
# A PAT in the wrong org will give a single Error 203. No PAT will give a single Error 401, and individual pdbs may be missing even if permissions are correct.
- group: symbols
+ - name: branchCounterKey
+ value: $[format('{0:yyyyMMdd}-{1}', pipeline.startTime,variables['Build.SourceBranch'])]
+ - name: branchCounter
+ value: $[counter(variables['branchCounterKey'], 1)]
pool:
name: PowerShell1ES