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

feat: add mutable defaultArtifact attribute to Pipeline class to use as default inputArtifact for all pipeline stages following build or sign stage #1473

Merged
merged 5 commits into from
Oct 11, 2023

Conversation

colifran
Copy link
Contributor

This PR adds a defaultArtifact attribute to the Pipeline class. The defaultArtifact attribute will act as the default inputArtifact based on the following conditions:

  1. If a signing stage is not added, then the defaultArtifact for all stages following the build stage will be the buildOutput artifact
  2. If a signing stage is added to the Pipeline via signNuGetWithSigner or addSigning, then the defaultArtifact for all stages following the sign stage will be the signingOutput artifact

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@colifran colifran changed the title feat: add mutable defaultArtifact to use as default inputArtifact for all pipeline stages following build or sign feat: add mutable defaultArtifact to use as default inputArtifact for all pipeline stages following build or sign stage Oct 10, 2023
@colifran colifran marked this pull request as ready for review October 10, 2023 20:01
Signed-off-by: Francis <[email protected]>
@colifran colifran changed the title feat: add mutable defaultArtifact to use as default inputArtifact for all pipeline stages following build or sign stage feat: add mutable defaultArtifact attribute to Pipeline class to use as default inputArtifact for all pipeline stages following build or sign stage Oct 10, 2023
@mergify mergify bot merged commit 0faa6b1 into main Oct 11, 2023
7 checks passed
@mergify mergify bot deleted the colifran/default-output branch October 11, 2023 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants