Skip to content

Commit

Permalink
ensure we reference publish-1es-artifact and not publish-artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
scbedd committed Mar 8, 2024
1 parent 89cd302 commit 1774117
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion eng/pipelines/templates/jobs/live.tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,11 +197,12 @@ jobs:
codeCoverageTool: Cobertura
summaryFileLocation: "$(PackagePath)/coverage/cobertura-coverage.xml"

- template: /eng/common/pipelines/templates/steps/publish-artifact.yml
- template: /eng/common/pipelines/templates/steps/publish-1es-artifact.yml
parameters:
ArtifactPath: "$(PackagePath)/coverage-browser"
ArtifactName: BrowserCodeCoverageReport
CustomCondition: and(succeededOrFailed(),eq(variables['TestType'], 'browser'),eq(variables['PublishCodeCoverage'], true))
SbomEnabled: false

# Unlink node_modules folders to significantly improve performance of subsequent tasks
# which need to walk the directory tree (and are hardcoded to follow symlinks).
Expand Down
7 changes: 5 additions & 2 deletions eng/pipelines/templates/steps/analyze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,12 @@ steps:
ServiceDirectory: "template"
TestPipeline: ${{ parameters.TestPipeline }}

- template: /eng/common/pipelines/templates/steps/publish-artifact.yml
- template: /eng/common/pipelines/templates/steps/publish-1es-artifact.yml
parameters:
ArtifactPath: '$(Build.ArtifactStagingDirectory)'
ArtifactName: 'package-diffs'
SbomEnabled: false


- template: /eng/common/pipelines/templates/steps/verify-readme.yml
parameters:
Expand Down Expand Up @@ -102,9 +104,10 @@ steps:
flattenFolders: true
displayName: "Copy lint reports"

- template: /eng/common/pipelines/templates/steps/publish-artifact.yml
- template: /eng/common/pipelines/templates/steps/publish-1es-artifact.yml
parameters:
ArtifactPath: '$(Build.ArtifactStagingDirectory)'
ArtifactName: 'reports'
SbomEnabled: false

- template: /eng/common/pipelines/templates/steps/eng-common-workflow-enforcer.yml
2 changes: 1 addition & 1 deletion eng/pipelines/templates/steps/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ steps:
workingDirectory: $(Pipeline.Workspace)
displayName: Create APIView code file

- template: /eng/common/pipelines/templates/steps/publish-artifact.yml
- template: /eng/common/pipelines/templates/steps/publish-1es-artifact.yml
parameters:
ArtifactPath: '$(Build.ArtifactStagingDirectory)'
ArtifactName: 'packages'
Expand Down

0 comments on commit 1774117

Please sign in to comment.