File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 200200 <Type >
201201 <Name >PSDevOps.Build.Artifact</Name >
202202 <Members >
203+ <ScriptMethod >
204+ <Name >Download</Name >
205+ <Script >
206+ if ($this.resource.downloadUrl) {
207+ Invoke-ADORestAPI -Uri $this.resource.downloadURL -AsByte
208+ }
209+
210+ </Script >
211+ </ScriptMethod >
203212 <ScriptProperty >
204213 <Name >ArtifactData</Name >
205214 <GetScriptBlock >
219228 <Type >
220229 <Name >Deserialized.PSDevOps.Build.Artifact</Name >
221230 <Members >
231+ <ScriptMethod >
232+ <Name >Download</Name >
233+ <Script >
234+ if ($this.resource.downloadUrl) {
235+ Invoke-ADORestAPI -Uri $this.resource.downloadURL -AsByte
236+ }
237+
238+ </Script >
239+ </ScriptMethod >
222240 <ScriptProperty >
223241 <Name >ArtifactData</Name >
224242 <GetScriptBlock >
You can’t perform that action at this time.
0 commit comments