Example #1
0
 public ReleaseNotesMetadataGenerator(ReleaseNotesMetadataOptions options)
 {
     _teamCityService = new TeamCityServiceClient(options.TeamCityUrl, options.TeamCityToken);
     _buildId         = options.BuildId;
     _path            = options.Metadata;
     _webhook         = options.Webhook;
 }
 public GithubStatusValidator(DeprecatedOptions options)
 {
     _buildId         = options.BuildId;
     _gitToken        = options.GithubToken;
     _configs         = options.Configurations.ToArray();
     _teamcityService = new TeamCityServiceClient(options.TeamCityUrl, options.TeamCityToken);
 }
Example #3
0
 public DifferentialReporter(DifferentialOptions options, string file)
 {
     _currentFilePath = file;
     _teamcityService = new TeamCityServiceClient(options.TeamCityUrl, options.TeamCityToken);
     _webhook         = options.Webhook;
     _buildId         = options.BuildId;
     _output          = options.Output;
     _gitPath         = options.Git;
 }
Example #4
0
 public DerivationChecker(DerivationOptions options)
 {
     _github      = new GithubApi(options.GithubToken);
     _teamcityApi = new TeamCityServiceClient(options.TeamCityUrl, options.TeamCityToken);
     _git         = new Git(options.Repository);
     _buildId     = options.BuildId;
     _scoped      = options.IsScoped;
     _derivation  = options.Derivation;
     _dryRun      = options.DryRun;
     _output      = options.Output;
 }
        public InspectionReporter(InspectionOptions options, string file)
        {
            _currentFilePath      = file;
            _webhook              = options.Webhook;
            _buildId              = options.BuildId;
            _output               = options.Output;
            _threshold            = options.Threshold;
            _teamcityService      = new TeamCityServiceClient(options.TeamCityUrl, options.TeamCityToken);
            _gitPath              = options.Git;
            _relativeSolutionPath = options.Solution;
            _mailNotifier         = new SoftwareQualityMailNotifier(options.Login, options.Password);

            _jira = new JiraService(options.JiraLogin, options.JiraPassword);
        }