File tree Expand file tree Collapse file tree 4 files changed +106
-2
lines changed Expand file tree Collapse file tree 4 files changed +106
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ extends:
2020 template : azure-pipelines/MicroBuild.1ES.Official.yml@MicroBuildTemplate
2121 parameters :
2222 pool :
23- name : MSEngSS -MicroBuild2022-1ES
23+ name : VSEngSS -MicroBuild2022-1ES
2424 settings :
2525 networkIsolationPolicy : Permissive
2626 stages :
Original file line number Diff line number Diff line change @@ -15,7 +15,9 @@ extends:
1515 template : azure-pipelines/MicroBuild.1ES.Official.yml@MicroBuildTemplate
1616 parameters :
1717 pool :
18- name : MSEngSS-MicroBuild2022-1ES
18+ name : VSEngSS-MicroBuild2022-1ES
19+ settings :
20+ networkIsolationPolicy : Permissive
1921 stages :
2022 - stage : Build
2123 jobs :
Original file line number Diff line number Diff line change 1+ # This pipeline is used to release the Project Manager for Java VSCode extension from the nightly/stable build.
2+ # It contains following steps:
3+ # 1. Download the plugin artifact from the nightly/stable build pipeline.
4+ # 2. Publish the plugin to the marketplace.
5+
6+ name : $(Date:yyyyMMdd).$(Rev:r) # Use the current date and a revision number for the build name.
7+
8+ variables :
9+ - name : Codeql.Enabled
10+ value : true
11+ resources :
12+ repositories :
13+ - repository : self
14+ type : git
15+ ref : refs/heads/main
16+ - repository : 1esPipelines
17+ type : git
18+ name : 1ESPipelineTemplates/1ESPipelineTemplates
19+ ref : refs/tags/release
20+ trigger : none
21+ extends :
22+ template : v1/1ES.Official.PipelineTemplate.yml@1esPipelines
23+ parameters :
24+ pool :
25+ os : linux
26+ name : 1ES_JavaTooling_Pool
27+ image : 1ES_JavaTooling_Ubuntu-2004
28+ stages :
29+ - stage : Release
30+ jobs :
31+ - job : Job
32+ displayName : Release Project Manager for Java VSCode Extension
33+ templateContext :
34+ type : releaseJob
35+ isProduction : true
36+ inputs :
37+ - input : pipelineArtifact
38+ buildType : specific
39+ project : $(AzDo.ProjectId) # Azure DevOps project ID
40+ definition : $(AzDo.BuildPipelineId) # artifact build pipeline ID
41+ artifactName : vsix
42+ downloadType : specific
43+ targetPath : ' $(Build.SourcesDirectory)'
44+ steps :
45+ - task : AzureCLI@2
46+ displayName : ' Publish Extension'
47+ inputs :
48+ azureSubscription : ' VSCode-Ext-Publishing'
49+ scriptType : pscore
50+ scriptLocation : inlineScript
51+ inlineScript : ' npx @vscode/vsce@latest publish -i '' $(Build.SourcesDirectory)/extension.vsix'' --manifestPath '' $(Build.SourcesDirectory)/extension.manifest'' --signaturePath '' $(Build.SourcesDirectory)/extension.signature.p7s'' --azure-credential'
Original file line number Diff line number Diff line change 1+ # This pipeline is used to release the Project Manager for Java VSCode extension from the nightly/stable build.
2+ # It contains following steps:
3+ # 1. Download the plugin artifact from the nightly/stable build pipeline.
4+ # 2. Publish the plugin to the marketplace.
5+
6+ name : $(Date:yyyyMMdd).$(Rev:r) # Use the current date and a revision number for the build name.
7+
8+ variables :
9+ - name : Codeql.Enabled
10+ value : true
11+ resources :
12+ repositories :
13+ - repository : self
14+ type : git
15+ ref : refs/heads/main
16+ - repository : 1esPipelines
17+ type : git
18+ name : 1ESPipelineTemplates/1ESPipelineTemplates
19+ ref : refs/tags/release
20+ trigger : none
21+ extends :
22+ template : v1/1ES.Official.PipelineTemplate.yml@1esPipelines
23+ parameters :
24+ pool :
25+ os : linux
26+ name : 1ES_JavaTooling_Pool
27+ image : 1ES_JavaTooling_Ubuntu-2004
28+ stages :
29+ - stage : Release
30+ jobs :
31+ - job : Job
32+ displayName : Release Project Manager for Java VSCode Extension
33+ templateContext :
34+ type : releaseJob
35+ isProduction : true
36+ inputs :
37+ - input : pipelineArtifact
38+ buildType : specific
39+ project : $(AzDo.ProjectId) # Azure DevOps project ID
40+ definition : $(AzDo.BuildPipelineId) # artifact build pipeline ID
41+ artifactName : vsix
42+ downloadType : specific
43+ targetPath : ' $(Build.SourcesDirectory)'
44+ steps :
45+ - task : AzureCLI@2
46+ displayName : ' Publish Extension'
47+ inputs :
48+ azureSubscription : ' VSCode-Ext-Publishing'
49+ scriptType : pscore
50+ scriptLocation : inlineScript
51+ inlineScript : ' npx @vscode/vsce@latest publish -i '' $(Build.SourcesDirectory)/extension.vsix'' --manifestPath '' $(Build.SourcesDirectory)/extension.manifest'' --signaturePath '' $(Build.SourcesDirectory)/extension.signature.p7s'' --azure-credential'
You can’t perform that action at this time.
0 commit comments