|
53 | 53 | condition: ne(variables['Skip.Analyze'], true) |
54 | 54 | variables: |
55 | 55 | - template: ../variables/globals.yml |
56 | | - dependsOn: |
57 | | - - Build |
58 | 56 | pool: |
59 | | - vmImage: "windows-2019" |
| 57 | + vmImage: ubuntu-18.04 |
60 | 58 | steps: |
61 | 59 | - task: UsePythonVersion@0 |
62 | 60 | displayName: "Use Python 3.6" |
|
73 | 71 | - template: /eng/common/pipelines/templates/steps/verify-path-length.yml |
74 | 72 | parameters: |
75 | 73 | SourceDirectory: $(Build.SourcesDirectory) |
76 | | - - task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0 |
77 | | - displayName: "Component Detection" |
78 | | - # ComponentGovernance is currently unable to run on pull requests of public projects. Running on |
79 | | - # scheduled builds should be good enough. |
80 | | - inputs: |
81 | | - ignoreDirectories: "sdk/storage/Azure.Storage.Common/swagger/Generator" |
82 | | - condition: and(succeededOrFailed(), ne(variables['Build.Reason'],'PullRequest')) |
83 | 74 | - task: NodeTool@0 |
84 | 75 | inputs: |
85 | | - # AutoRest doesn't work with versions 12.x |
86 | | - versionSpec: '10.15.0' |
| 76 | + versionSpec: '13.13.0' |
87 | 77 | displayName: 'Install NodeJS' |
88 | 78 | - task: PowerShell@2 |
89 | 79 | displayName: "Verify generated code" |
|
96 | 86 | arguments: -ServiceDirectory ${{parameters.ServiceToBuild}} |
97 | 87 | pwsh: true |
98 | 88 | failOnStderr: false |
| 89 | + - task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0 |
| 90 | + displayName: "Component Detection" |
| 91 | + # ComponentGovernance is currently unable to run on pull requests of public projects. Running on |
| 92 | + # scheduled builds should be good enough. |
| 93 | + inputs: |
| 94 | + ignoreDirectories: "sdk/storage/Azure.Storage.Common/swagger/Generator" |
| 95 | + condition: and(succeededOrFailed(), ne(variables['Build.Reason'],'PullRequest')) |
99 | 96 | - job: "Test" |
100 | 97 | condition: ne(variables['Skip.Test'], true) |
101 | 98 | variables: |
|
0 commit comments