-
Notifications
You must be signed in to change notification settings - Fork 867
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
[PipelineArtifactPluginV2] Add support of minimumBuildStatus property #2560
[PipelineArtifactPluginV2] Add support of minimumBuildStatus property #2560
Conversation
… and allowFailedBuilds
Thanks @Thilas . The agent change looks good to me. Please re-sync with master and fix the conflicts. cc @johnterickson |
@@ -177,15 +190,15 @@ public class DownloadPipelineArtifactTaskV2_0_0 : PipelineArtifactTaskPluginBase | |||
{ | |||
if (pipelineVersionToDownload == pipelineVersionToDownloadLatest) | |||
{ | |||
pipelineId = await this.GetPipelineIdAsync(context, pipelineDefinition, pipelineVersionToDownload, projectName, tagsInput); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can pass the resultFilter to the function and set default to Succeed so that we don't need to always pass two bool variables here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
# Conflicts: # src/Agent.Plugins/PipelineArtifact/PipelineArtifactPluginV2.cs
All done, I let you finalize the review. Thanks. |
Looks good to me. I'm approving the code changes in the agent first since we need to wait until the agent is released and then release the task. @jtpetty Can you please take a look and merge the PR. Thanks, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thank you! |
* Cherry picking #2560 to m163 * bump version
@jahsu-MSFT, @johnterickson, as discussed in microsoft/azure-pipelines-tasks#11556, here are my changes that add a
minimumBuildStatus
property to the PipelineArtifactPluginV2 task plugin.