Fix build ymls (#8445)

* add publish mac args

* don't use minified

* continue on error

* no fancy error handling

* don't need continue on error specifier
This commit is contained in:
Anthony Dresser
2019-11-22 17:05:56 -08:00
committed by GitHub
parent 22501a09a1
commit f0039a64a7
3 changed files with 34 additions and 8 deletions

View File

@@ -65,7 +65,7 @@ steps:
- script: | - script: |
set -e set -e
yarn gulp vscode-darwin-min yarn gulp vscode-darwin
displayName: Build displayName: Build
- script: | - script: |
@@ -159,6 +159,34 @@ steps:
displayName: 'Get SHA256 Hashes' displayName: 'Get SHA256 Hashes'
continueOnError: true continueOnError: true
- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact: drop'
- task: PublishTestResults@2
displayName: 'Publish Test Results test-results.xml'
inputs:
testResultsFiles: 'test-results.xml'
searchFolder: '$(Build.SourcesDirectory)'
continueOnError: true
condition: and(succeeded(), eq(variables['RUN_TESTS'], 'true'))
- task: PublishTestResults@2
displayName: 'Publish Integration and Smoke Test Results'
inputs:
testResultsFiles: 'dawin-integration-tests-results.xml'
searchFolder: '$(Build.ArtifactStagingDirectory)\test-results'
continueOnError: true
condition: and(succeeded(), eq(variables['RUN_TESTS'], 'true'))
- task: PublishCodeCoverageResults@1
displayName: 'Publish code coverage from $(Build.SourcesDirectory)/.build/coverage/cobertura-coverage.xml'
inputs:
codeCoverageTool: Cobertura
summaryFileLocation: '$(Build.SourcesDirectory)/.build/coverage/cobertura-coverage.xml'
reportDirectory: '$(Build.SourcesDirectory)/.build/coverage'
continueOnError: true
condition: and(succeeded(), eq(variables['RUN_TESTS'], 'true'))
- task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0 - task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0
displayName: 'Component Detection' displayName: 'Component Detection'
inputs: inputs:

View File

@@ -74,7 +74,7 @@ steps:
- script: | - script: |
set -e set -e
yarn gulp vscode-linux-x64-min yarn gulp vscode-linux-x64
displayName: Build displayName: Build
- script: | - script: |

View File

@@ -28,11 +28,9 @@ steps:
displayName: Prepare tooling displayName: Prepare tooling
- powershell: | - powershell: |
. build/azure-pipelines/win32/exec.ps1 git remote add distro "https://github.com/$(VSCODE_MIXIN_REPO).git"
$ErrorActionPreference = "Stop" git fetch distro
exec { git remote add distro "https://github.com/$(VSCODE_MIXIN_REPO).git" } git merge $(node -p "require('./package.json').distro")
exec { git fetch distro }
exec { git merge $(node -p "require('./package.json').distro") }
displayName: Merge distro displayName: Merge distro
- task: 1ESLighthouseEng.PipelineArtifactCaching.RestoreCacheV1.RestoreCache@1 - task: 1ESLighthouseEng.PipelineArtifactCaching.RestoreCacheV1.RestoreCache@1
@@ -72,7 +70,7 @@ steps:
- powershell: | - powershell: |
. build/azure-pipelines/win32/exec.ps1 . build/azure-pipelines/win32/exec.ps1
$ErrorActionPreference = "Stop" $ErrorActionPreference = "Stop"
exec { yarn gulp "vscode-win32-x64-min" } exec { yarn gulp "vscode-win32-x64" }
displayName: Build displayName: Build
- powershell: | - powershell: |