This repository was archived by the owner on Mar 5, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +11
-24
lines changed Expand file tree Collapse file tree 1 file changed +11
-24
lines changed Original file line number Diff line number Diff line change @@ -39,16 +39,23 @@ resources:
39
39
name : PowerShell/compliance
40
40
41
41
stages :
42
- - stage : Build
43
- displayName : Build
42
+ - stage : Build and Sign
43
+ displayName : Build and Sign
44
44
jobs :
45
- - job : ' ReleaseBuild'
46
- displayName : Release Build
45
+ - job : ' BuildAndSign'
46
+ variables :
47
+ - group : ESRP
48
+ displayName : Build and Sign
47
49
pool :
48
50
name : PowerShell1ES
49
51
demands :
50
52
- ImageOverride -equals PSMMS2019-Secure
51
53
steps :
54
+ - powershell : |
55
+ Get-ChildItem -Path env:
56
+ displayName: Capture environment
57
+ condition: succeededOrFailed()
58
+ steps :
52
59
- pwsh : |
53
60
# build agents get reused so we make sure to remove the old archive
54
61
Remove-Item -Path $(Build.SourcesDirectory)/SignedZip -Recurse -Force -ErrorAction Ignore
@@ -62,26 +69,6 @@ stages:
62
69
displayName: Build
63
70
- publish : " out/"
64
71
artifact : out
65
- - job : ' SignBuild'
66
- variables :
67
- - group : ESRP
68
- displayName : Signing Build
69
- dependsOn : ' ReleaseBuild'
70
- pool :
71
- name : PowerShell1ES
72
- demands :
73
- - ImageOverride -equals PSMMS2019-Secure
74
- steps :
75
- - powershell : |
76
- Get-ChildItem -Path env:
77
- displayName: Capture environment
78
- condition: succeededOrFailed()
79
-
80
- - task : DownloadPipelineArtifact@2
81
- displayName : ' Download Pipeline Artifacts'
82
- inputs :
83
- artifact : ' out'
84
- path : $(Build.SourcesDirectory)/out
85
72
86
73
- template : EsrpSign.yml@ComplianceRepo
87
74
parameters :
You can’t perform that action at this time.
0 commit comments