-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add mutable
defaultArtifact
attribute to Pipeline
class to …
…use as default `inputArtifact` for all pipeline stages following build or sign stage (#1473) 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.
- Loading branch information
Showing
5 changed files
with
124 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters