Ejemplo n.º 1
0
        public static void OpenshiftStartBuild(this ICakeContext context, string buildConfig, OpenshiftBuildStarterSettings settings)
        {
            Check.NotNull(context, nameof(context));
            Check.NotNullOrEmpty(buildConfig, nameof(buildConfig));
            Check.NotNull(settings, nameof(settings));

            var buildStarter = new OpenshiftBuildStarter(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools);

            buildStarter.Run(buildConfig, settings);
        }
        protected override void RunTool()
        {
            var buildStarter = new OpenshiftBuildStarter(FileSystem, Environment, ProcessRunner, Tools);

            buildStarter.Run(BuildConfig, Settings);
        }