Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="JenkinsEnvironmentInfo" /> class.
 /// </summary>
 /// <param name="environment">The environment.</param>
 public JenkinsEnvironmentInfo(ICakeEnvironment environment) : base(environment)
 {
     _buildProvider      = new JenkinsBuildInfo(environment);
     _repositoryProvider = new JenkinsRepositoryInfo(environment);
     _nodeProvider       = new JenkinsNodeInfo(environment);
     _jobProvider        = new JenkinsJobInfo(environment);
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="JenkinsEnvironmentInfo" /> class.
 /// </summary>
 /// <param name="environment">The environment.</param>
 public JenkinsEnvironmentInfo(ICakeEnvironment environment) : base(environment)
 {
     Build      = new JenkinsBuildInfo(environment);
     Repository = new JenkinsRepositoryInfo(environment);
     Node       = new JenkinsNodeInfo(environment);
     Job        = new JenkinsJobInfo(environment);
 }