File tree Expand file tree Collapse file tree 2 files changed +21
-18
lines changed
eng/pipelines/templates/steps Expand file tree Collapse file tree 2 files changed +21
-18
lines changed Original file line number Diff line number Diff line change @@ -109,14 +109,15 @@ steps:
109
109
CustomCondition : ${{ parameters.BuildDocs }}
110
110
ArtifactName : ' documentation'
111
111
112
- - task : AzureArtifacts.manifest-generator-task.manifest-generator-task.ManifestGeneratorTask@0
113
- displayName : ' Generate BOM'
114
- condition : succeededOrFailed()
115
- inputs :
116
- BuildDropPath : $(Build.ArtifactStagingDirectory)
112
+ - ${{if eq(variables['System.TeamProject'], 'internal') }} :
113
+ - task : AzureArtifacts.manifest-generator-task.manifest-generator-task.ManifestGeneratorTask@0
114
+ displayName : ' Generate BOM'
115
+ condition : succeededOrFailed()
116
+ inputs :
117
+ BuildDropPath : $(Build.ArtifactStagingDirectory)
117
118
118
- - template : /eng/common/pipelines/templates/steps/publish-artifact.yml
119
- parameters :
120
- ArtifactPath : ' $(Build.ArtifactStagingDirectory)/_manifest'
121
- ArtifactName : ' manifest'
119
+ - template : /eng/common/pipelines/templates/steps/publish-artifact.yml
120
+ parameters :
121
+ ArtifactPath : ' $(Build.ArtifactStagingDirectory)/_manifest'
122
+ ArtifactName : ' manifest'
122
123
Original file line number Diff line number Diff line change @@ -84,13 +84,15 @@ steps:
84
84
ArtifactPath : ' $(Agent.BuildDirectory)/conda/output'
85
85
ArtifactName : ' conda'
86
86
87
- - task : AzureArtifacts.manifest-generator-task.manifest-generator-task.ManifestGeneratorTask@0
88
- displayName : ' Upload Conda Package SBOM'
89
- condition : succeededOrFailed()
90
- inputs :
91
- BuildDropPath : ' $(Agent.BuildDirectory)/conda/manifest'
92
87
93
- - template : /eng/common/pipelines/templates/steps/publish-artifact.yml
94
- parameters :
95
- ArtifactPath : ' $(Agent.BuildDirectory)/conda/manifest/_manifest'
96
- ArtifactName : ' conda_manifest'
88
+ - ${{if eq(variables['System.TeamProject'], 'internal') }} :
89
+ - task : AzureArtifacts.manifest-generator-task.manifest-generator-task.ManifestGeneratorTask@0
90
+ displayName : ' Upload Conda Package SBOM'
91
+ condition : succeededOrFailed()
92
+ inputs :
93
+ BuildDropPath : ' $(Agent.BuildDirectory)/conda/manifest'
94
+
95
+ - template : /eng/common/pipelines/templates/steps/publish-artifact.yml
96
+ parameters :
97
+ ArtifactPath : ' $(Agent.BuildDirectory)/conda/manifest/_manifest'
98
+ ArtifactName : ' conda_manifest'
You can’t perform that action at this time.
0 commit comments