You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# enabled: true # TODO: would like to enable only on scheduled builds but CodeQL cannot currently be disabled per https://eng.ms/docs/cloud-ai-platform/devdiv/one-engineering-system-1es/1es-docs/codeql/1es-codeql
40
38
pool:
41
-
name: AzurePipelines-EO # Name of your hosted pool
42
-
image: 1ESPT-Ubuntu20.04 # Name of the image in your pool. If not specified, first image of the pool is used
43
-
os: linux # OS of the image. Allowed values: windows, linux, macOS
39
+
name: VSEngSS-MicroBuild2022-1ES # Name of your hosted pool
40
+
image: server2022-microbuildVS2022-1es # Name of the image in your pool. If not specified, first image of the pool is used
41
+
os: windows # OS of the image. Allowed values: windows, linux, macOS
42
+
44
43
stages:
45
44
- stage: ReleaseStage
45
+
displayName: Release package
46
46
jobs:
47
-
- job: ReleaseJob
48
-
steps:
49
-
- task: DownloadPipelineArtifact@2
50
-
displayName: "\U0001F449 Download Artifact"
51
-
inputs:
52
-
buildType: "specific"
53
-
project: "DevDiv"
54
-
definition: ${{ parameters.PipelineDefinition }}
55
-
buildVersionToDownload: "latestFromBranch"
56
-
branchName: ${{ parameters.BranchToPublish }}
47
+
- job: Publish
48
+
displayName: Publish package
49
+
templateContext:
50
+
type: releaseJob
51
+
isProduction: true
52
+
inputs:
53
+
- input: pipelineArtifact
54
+
pipeline: build
57
55
targetPath: $(System.DefaultWorkingDirectory)
58
-
itemPattern: "**/*.tgz"
59
-
- task: CmdLine@2
60
-
displayName: "\U0001F449 Validate Artifact"
61
-
inputs:
62
-
script: |
63
-
TarballPath=`find . -type f -iname "${{ parameters.PackageToPublish }}*.tgz"`
64
-
if [[ $TarballPath =~ ((microsoft|vscode)-.*)-([0-9]+\.[0-9]+\.[0-9]+) ]]; then
0 commit comments