Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DownloadPipelineArtifactV2] Add minimumBuildStatus property #11664

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
"loc.input.help.runId": "The build from which to download the artifacts.",
"loc.input.label.tags": "Build Tags",
"loc.input.help.tags": "A comma-delimited list of tags. Only builds with these tags will be returned.",
"loc.input.label.allowPartiallySucceededBuilds": "Download artifacts from partially succeeded builds.",
"loc.input.help.allowPartiallySucceededBuilds": "If checked, this build task will try to download artifacts whether the build is succeeded or partially succeeded.",
"loc.input.label.allowFailedBuilds": "Download artifacts from failed builds.",
"loc.input.help.allowFailedBuilds": "If checked, this build task will try to download artifacts whether the build is succeeded or failed.",
"loc.input.label.artifact": "Artifact name",
"loc.input.help.artifact": "The name of the artifact to download. If left empty, it will download all artifacts associated to the pipeline run.",
"loc.input.label.patterns": "Matching patterns",
Expand Down
24 changes: 21 additions & 3 deletions Tasks/DownloadPipelineArtifactV2/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
"author": "Microsoft Corporation",
"version": {
"Major": 2,
"Minor": 1,
"Patch": 2
"Minor": 2,
"Patch": 0
},
"groups": [],
"demands": [],
"preview": false,
"minimumAgentVersion": "2.159.2",
"minimumAgentVersion": "2.161.0",
"inputs": [
{
"name": "source",
Expand Down Expand Up @@ -128,6 +128,24 @@
"required": false,
"helpMarkDown": "A comma-delimited list of tags. Only builds with these tags will be returned."
},
{
"name": "allowPartiallySucceededBuilds",
"type": "boolean",
"label": "Download artifacts from partially succeeded builds.",
"defaultValue": "false",
"visibleRule": "source == specific && runVersion != specific",
"required": false,
"helpMarkDown": "If checked, this build task will try to download artifacts whether the build is succeeded or partially succeeded."
},
{
"name": "allowFailedBuilds",
"type": "boolean",
"label": "Download artifacts from failed builds.",
"defaultValue": "false",
"visibleRule": "source == specific && runVersion != specific",
"required": false,
"helpMarkDown": "If checked, this build task will try to download artifacts whether the build is succeeded or failed."
},
{
"name": "artifact",
"aliases": [
Expand Down
24 changes: 21 additions & 3 deletions Tasks/DownloadPipelineArtifactV2/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
"author": "Microsoft Corporation",
"version": {
"Major": 2,
"Minor": 1,
"Patch": 2
"Minor": 2,
"Patch": 0
},
"groups": [],
"demands": [],
"preview": false,
"minimumAgentVersion": "2.159.2",
"minimumAgentVersion": "2.161.0",
"inputs": [
{
"name": "source",
Expand Down Expand Up @@ -129,6 +129,24 @@
"helpMarkDown": "ms-resource:loc.input.help.tags"
},
{
"name": "allowPartiallySucceededBuilds",
"type": "boolean",
"label": "ms-resource:loc.input.label.allowPartiallySucceededBuilds",
"defaultValue": "false",
"visibleRule": "source == specific && runVersion != specific",
"required": false,
"helpMarkDown": "ms-resource:loc.input.help.allowPartiallySucceededBuilds"
},
{
"name": "allowFailedBuilds",
"type": "boolean",
"label": "ms-resource:loc.input.label.allowFailedBuilds",
"defaultValue": "false",
"visibleRule": "source == specific && runVersion != specific",
"required": false,
"helpMarkDown": "ms-resource:loc.input.help.allowFailedBuilds"
},
{
"name": "artifact",
"aliases": [
"artifactName"
Expand Down