Skip to content

Commit e1ec3b7

Browse files
committed
Update azure-pipeline - Search.Algolia.yml for Azure Pipelines
1 parent 7123527 commit e1ec3b7

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

azure-pipeline - Search.Algolia.yml

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -49,32 +49,3 @@ steps:
4949
ArtifactName: 'drop'
5050
publishLocation: 'Container'
5151

52-
# Generate/upload SBOM with cdxgen
53-
- script: |
54-
cd $(Build.SourcesDirectory)
55-
npm install --global @cyclonedx/cdxgen
56-
displayName: 'Install cdxgen'
57-
58-
- script: |
59-
mkdir -p $(Build.ArtifactStagingDirectory)/bom
60-
cd $(Build.SourcesDirectory)
61-
cdxgen --recurse \
62-
--output $(Build.ArtifactStagingDirectory)/bom/bom.json \
63-
--json-pretty \
64-
--project-group '$(productGroup)' \
65-
--project-name '$(projectName)' \
66-
--project-version '$(productVersion)' \
67-
--server-url '$(DT_BASE_URL)' \
68-
--api-key '$(DT_API_KEY)'
69-
displayName: 'Generate & Upload SBOM with cdxgen'
70-
env:
71-
DT_API_KEY: $(DT_API_KEY)
72-
DT_BASE_URL: $(DT_BASE_URL)
73-
74-
# Publish SBOM artifact
75-
- task: PublishPipelineArtifact@1
76-
displayName: 'Publish SBOM Artifact'
77-
inputs:
78-
targetPath: $(Build.ArtifactStagingDirectory)/bom
79-
artifactName: SBOM
80-

0 commit comments

Comments
 (0)