English 中文(简体)
删除通过AzDevops的 PublishBuild Artifacts@1上载的档案
原标题:Delete files uploaded via PublishBuildArtifacts@1 in AzDevops

我无法找到办法,删除通过AzDevops的 PublishBuildArtifacts@1上载的档案/文件。

can we do it via cmdLIne task or script?

我可以删除在代理人上载的所有文件,但没有公布。

货物上载到文件箱C:DataAgent_work2329a estr.json to the file protocol: #/232343434/test

问题回答

根据您的描述,您希望删除已出版的艺术品。 如果我理解正确的话,你需要取代发表《艺术作品>的建筑。 管道工艺与每一建筑相关。 为删除该建筑,请参阅以下内容:

  1. 人工删除建筑

    “entergraph

  2. 制定建筑保留政策

    Retention policies let you set how long to keep runs, releases, and tests stored in the system. Go to Project Settings -> Settings (under Pipeline tab). enter image description here

  3. https://learn.microsoft.com/en-us/rest/api/azure/devops/build/builds/delete?view=azure-devops-rest-7.1” rel=“nofollow noreferer” 。

DELETE https://dev.azure.com/{organization}/{project}/_apis/build/builds/{buildId}?api-version=7.1-preview.7




相关问题
Mutually exclusive powershell parameters

SCENARIO I m writing a cmdlet for Powershell 2.0 using Visual Studio 2008 and .NET 3.5 the cmdlet requires 3 arguments. my intended grammar of the cmdlet is something like this: cmdletname [foo|...

Run a program from PowerShell with timeout

I ll write a script that runs a program and wait for it finished. But if the program is not finished within a specified time I want that the program is killed.

How to transpose data in powershell

I have a file that looks like this: a,1 b,2 c,3 a,4 b,5 c,6 (...repeat 1,000s of lines) How can I transpose it into this? a,b,c 1,2,3 4,5,6 Thanks

Powershell v2 remoting and delegation

I have installed Powershell V2 on 2 machines and run Enable-PsRemoting on both of them. Both machines are Win 2003 R2 and are joined to the same active directory domain and I can successfully run ...

PowerShell -match operator and multiple groups

I have the following log entry that I am processing in PowerShell I m trying to extract all the activity names and durations using the -match operator but I am only getting one match group back. I m ...