File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 36
36
displayName : Publish format.patch
37
37
inputs :
38
38
PathtoPublish : ' $(Build.SourcesDirectory)/format.patch'
39
- ArtifactName : $(osGroup).$(archType) format .patch
39
+ ArtifactName : format. $(osGroup).$(archType).patch
40
40
continueOnError : true
41
41
condition : failed()
Original file line number Diff line number Diff line change @@ -172,12 +172,18 @@ def main(argv):
172
172
os .remove (bootstrapPath )
173
173
174
174
if returncode != 0 :
175
- buildUrl = my_env ["BUILD_URL" ]
176
175
print ("There were errors in formatting. Please run jit-format locally with: \n " )
177
176
print (errorMessage )
178
177
print ("\n Or download and apply generated patch:" )
179
- print ("wget " + buildUrl + "artifact/format.patch" )
180
- print ("git apply format.patch" )
178
+ print ("1. From the GitHub 'Checks' page on the Pull Request, with the failing Formatting" )
179
+ print (" job selected (e.g., 'Formatting Linux x64'), click the 'View more details on" )
180
+ print (" Azure Pipelines' link." )
181
+ print ("3. Select the 'Summary' tab." )
182
+ print ("4. Open the 'Build artifacts published' entry." )
183
+ print ("5. Find the link to the OS/architecture appropriate format patch file." )
184
+ print ("6. Click on the link to download it." )
185
+ print ("7. Unzip the patch file." )
186
+ print ("8. git apply format.patch" )
181
187
182
188
return returncode
183
189
You can’t perform that action at this time.
0 commit comments