Skip to content

Commit 612c6a1

Browse files
authored
💚 CI refactoring with regards to licensing (#46)
* try forcing publishing artifacts even if check fails * CI refactoring * news file
1 parent 5a12398 commit 612c6a1

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

azure-pipelines/build-release.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,6 @@ stages:
150150

151151
- template: steps/generate-spdx-documents.yml
152152

153-
- publish: $(temp_spdx_reports_path)
154-
artifact: SPDX
155-
displayName: 'Publish SPDX reports'
156-
condition: always()
157-
158153
# Collect test and build stages together before the release stages to provide a pass/fail point for the status badge.
159154
- stage: CiCheckpoint
160155
displayName: 'CI Checkpoint'

azure-pipelines/steps/generate-spdx-documents.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,9 @@ steps:
1010
1111
- script: |
1212
license-files
13-
displayName: 'Add copyright/licence notice.'
13+
displayName: 'Add copyright/licence notice.'
14+
15+
- publish: $(temp_spdx_reports_path)
16+
artifact: SPDX
17+
displayName: 'Publish SPDX reports'
18+
condition: always()

news/20200416.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Refactored CI job to ensure licensing artifacts are uploaded no matter the result of the reporting.

0 commit comments

Comments
 (0)