@@ -45,21 +45,9 @@ variables:
4545 - name : nugetPackageName
4646 value : ' nanoFramework.System.Device.Gpio'
4747
48- variables :
49- - group : sign-client-credentials
50- - name : DOTNET_NOLOGO
51- value : true
52- - name : buildPlatform
53- value : ' Any CPU'
54- - name : buildConfiguration
55- value : ' Release'
56- - name : solution
57- value : ' nanoFramework.System.Device.Gpio.sln'
58- - name : nugetPackageName
59- value : ' nanoFramework.System.Device.Gpio'
60-
6148# step from template @ nf-tools repo
62- # all build, update and publish steps
49+ # all build, update and publish
50+ steps :
6351- template : azure-pipelines-templates/class-lib-build.yml@templates
6452 parameters :
6553 sonarCloudProject : ' nanoframework_lib-System.Device.Gpio'
@@ -74,70 +62,9 @@ variables:
7462 repositoriesToUpdate : |
7563 System.Device.Spi
7664
77- # #############################
78- - job : Update_Dependents
79- condition : >-
80- or(
81- and(
82- succeeded(),
83- startsWith(variables['Build.SourceBranch'], 'refs/tags/v'),
84- eq(variables['StartReleaseCandidate'], 'false')
85- ),
86- and(
87- succeeded(),
88- contains(variables['getCommitMessage.COMMIT_MESSAGE'], '***UPDATE_DEPENDENTS***'),
89- eq(variables['StartReleaseCandidate'], 'false')
90- ),
91- eq(variables['UPDATE_DEPENDENTS'], 'true')
92- )
93-
94- dependsOn :
95- - Build_Library
96-
97- pool :
98- vmImage : ' windows-latest'
99-
100- variables :
101- DOTNET_NOLOGO : true
102-
103- steps :
104-
105- - checkout : none
106-
107- # update dependents
108- - template : azure-pipelines-templates/update-dependents.yml@templates
109- parameters :
110- ${{ if eq(variables['UPDATE_DEPENDENTS'], 'true') }} :
111- waitBeforeUpdate : false
112- ${{ else }} :
113- waitBeforeUpdate : true
114- repositoriesToUpdate : |
115- System.Device.Spi
116-
117- # #################################
11865# report build failure to Discord
119- - job : Report_Build_Failure
120-
121- dependsOn :
122- - Build_Library
123- - Update_Dependents
124- condition : >-
125- or(
126- failed('Build_Library'),
127- failed('Update_Dependents')
128- )
129-
130- pool :
131- vmImage : ' windows-latest'
132-
133- steps :
134-
135- - checkout : self
136-
137- # step from template @ nf-tools repo
138- # report error
139- - template : azure-pipelines-templates/discord-webhook-task.yml@templates
140- parameters :
141- status : ' failure'
142- webhookUrl : ' $(DiscordWebhook)'
143- message : ' '
66+ - template : azure-pipelines-templates/discord-webhook-task.yml@templates
67+ parameters :
68+ status : ' failure'
69+ webhookUrl : ' $(DiscordWebhook)'
70+ message : ' '
0 commit comments