File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,8 +33,7 @@ extends:
3333 mb :
3434 signing :
3535 enabled : true
36- signType : real
37- signWithProd : true
36+ signType : test
3837 zipSources : false
3938 localization :
4039 enabled : true
Original file line number Diff line number Diff line change @@ -34,15 +34,22 @@ steps:
3434- template : ../tasks/1ES/PublishPipelineArtifact.yml
3535 parameters :
3636 displayName : ' Publish Nupkgs'
37- path : ' $(Build.SourcesDirectory)\bin\DebugAdapterProtocolTests\Release\drop'
37+ targetPath : ' $(Build.SourcesDirectory)\bin\DebugAdapterProtocolTests\Release\drop'
3838 artifactName : ' nupkgs'
3939 OneESPT : true
4040
41+ - task : 1ES.PublishNuget@1
42+ displayName : ' NuGet push'
43+ inputs :
44+ packageParentPath : ' $(Build.SourcesDirectory)\bin\DebugAdapterProtocolTests\Release\drop\'
45+ packagesToPush : ' $(Build.SourcesDirectory)\bin\DebugAdapterProtocolTests\Release\drop\*.nupkg'
46+ publishVstsFeed : ' cf33e8db-bbb9-4205-82ee-e1cd159cce99'
47+
4148# Retain the pipeline run for 2 years so we can compare future builds against it
4249- powershell : |
4350 $contentType = 'application/json';
4451 $headers = @{ Authorization = 'Bearer $(System.AccessToken)' };
45- $rawRequest = @{ daysValid = 365 * 2; definitionId = $(resources.pipeline.CI.pipelineID ); ownerId = 'User:$(Build.RequestedForId)'; protectPipeline = $false; runId = $(resources.pipeline.CI.runId ) };
52+ $rawRequest = @{ daysValid = 365 * 2; definitionId = $(System.DefinitionId ); ownerId = 'User:$(Build.RequestedForId)'; protectPipeline = $false; runId = $(Build.BuildId ) };
4653 $request = ConvertTo-Json @($rawRequest);
4754 Write-Host $request
4855 $uri = "$(System.CollectionUri)$(System.TeamProject)/_apis/build/retention/leases?api-version=6.0-preview.1";
You can’t perform that action at this time.
0 commit comments