33
44variables :
55 ARTIFACT_DIR : $(Build.ArtifactStagingDirectory)
6- esrpConnectionName : ' test '
6+ ESRP_CONNECTION_NAME : ${esrpConnectionName}
77
88stages :
99- stage : BuildAndPackage
@@ -38,9 +38,8 @@ stages:
3838 esrpConnectionName: $(esrpConnectionName)
3939
4040 - task : EsrpCodeSigning@6
41- condition : false
4241 inputs :
43- ConnectedServiceName : $(esrpConnectionName )
42+ ConnectedServiceName : $(ESRP_CONNECTION_NAME )
4443 AppRegistrationClientId : $(appRegistrationClientId)
4544 AppRegistrationTenantId : $(esrpTenantId)
4645 EsrpClientId : $(esrpClientId)
@@ -54,36 +53,9 @@ stages:
5453 MaxRetryAttempts : ' 5'
5554 PendingAnalysisWaitTimeoutMinutes : ' 5'
5655
57- - task : EsrpCodeSigning@5
58- inputs :
59- connectedServiceName : ' $(esrpConnectionName)'
60- useMSIAuthentication : true
61- appRegistrationClientId : ' $(appRegistrationClientId)'
62- appRegistrationTenantId : ' $(esrpTenantId)'
63- authAkvName : ' $(esrpAuthAkvName)'
64- authSignCertName : ' $(esrpAuthCertName)'
65- folderPath : ' $(ARTIFACT_DIR)'
66- pattern : ' *.vsix'
67- useMinimatch : true
68-
6956 - task : PublishBuildArtifacts@1
7057 inputs :
7158 pathToPublish : ' $(ARTIFACT_DIR)'
7259 artifactName : ' vsix-artifact'
7360 publishLocation : ' Container'
7461 displayName : ' Publish VSIX Artifact'
75-
76-
77-
78-
79-
80-
81-
82-
83-
84-
85-
86-
87-
88-
89-
0 commit comments