File tree Expand file tree Collapse file tree
eng/common/pipelines/templates/steps Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55# ArtifactName - The name of the artifact in the "successful" case.
66# ArtifactPath - The path we will be publishing.
77# CustomCondition - Used if there is additional logic necessary to prevent attempt of publish.
8+ # SbomEnabled - Set whether to auto-inject 1es pipeline template sbom tasks
89
910parameters :
1011 ArtifactName : ' '
1112 ArtifactPath : ' '
1213 CustomCondition : true
14+ SbomEnabled : true
1315
1416steps :
1517 - pwsh : |
2527 condition : and(succeededOrFailed(), ${{ parameters.CustomCondition }})
2628 displayName : ' Publish ${{ parameters.ArtifactName }} Artifacts'
2729 inputs :
28- artifact : ' $(PublishArtifactName)'
29- path : ' ${{ parameters.ArtifactPath }}'
30+ artifactName : ' $(PublishArtifactName)'
31+ targetPath : ' ${{ parameters.ArtifactPath }}'
32+ sbomEnabled : ${{ parameters.SbomEnabled }}
You can’t perform that action at this time.
0 commit comments