public ReleaseBuilder( ZeroBuilder zeroBuilder, ArtifactCenter artifacts, ReleaseRoadmap roadmap, IEnvLocalFeedProvider localFeedProvider) : base(zeroBuilder, BuildResultType.Release, artifacts, localFeedProvider, roadmap.SolutionContext) { _commits = new string[roadmap.SolutionContext.Solutions.Count]; _roadmap = roadmap; }
public DevelopBuilder( ZeroBuilder zeroBuilder, ArtifactCenter artifacts, IEnvLocalFeedProvider localFeedProvider, IWorldSolutionContext ctx, bool withUnitTest) : base(zeroBuilder, BuildResultType.CI, artifacts, localFeedProvider, ctx) { _commits = new string[ctx.Solutions.Count]; _withUnitTest = withUnitTest; }
public LocalBuilder( ZeroBuilder zeroBuilder, ArtifactCenter artifacts, IEnvLocalFeedProvider localFeedProvider, IWorldSolutionContext ctx, bool withUnitTest) : base(zeroBuilder, BuildResultType.Local, artifacts, localFeedProvider, ctx) { _withUnitTest = withUnitTest; _commitTimes = new DateTimeOffset[ctx.Solutions.Count]; }
protected Builder( ZeroBuilder zeroBuilder, BuildResultType type, ArtifactCenter artifacts, IEnvLocalFeedProvider localFeedProvider, IWorldSolutionContext ctx) { ZeroBuilder = zeroBuilder ?? throw new ArgumentNullException(nameof(zeroBuilder)); _type = type; _artifacts = artifacts ?? throw new ArgumentNullException(nameof(artifacts)); _localFeedProvider = localFeedProvider ?? throw new ArgumentNullException(nameof(localFeedProvider)); DependentSolutionContext = ctx ?? throw new ArgumentNullException(nameof(ctx)); _packagesVersion = new Dictionary <Artifact, SVersion>(); _upgrades = new List <UpdatePackageInfo> [ctx.Solutions.Count]; _targetVersions = new SVersion[ctx.Solutions.Count]; }