Skip to content

Commit

Permalink
fixed docs, fixed layout
Browse files Browse the repository at this point in the history
  • Loading branch information
krippz committed Dec 11, 2015
1 parent 71002ff commit 8aa6204
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
3 changes: 1 addition & 2 deletions src/Cake.Common/Build/Bamboo/BambooProvider.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using Cake.Common.Build.Bamboo.Data;
using Cake.Core;
using Cake.Core.IO;
using Cake.Common.Build.Bamboo.Data;

namespace Cake.Common.Build.Bamboo
{
Expand Down Expand Up @@ -48,6 +48,5 @@ public BambooEnvironmentInfo Environment
{
get { return _environmentInfo; }
}

}
}
2 changes: 1 addition & 1 deletion src/Cake.Common/Build/Bamboo/Data/BambooBuildInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public int Number
}

/// <summary>
/// The job key for the current job, in the form PROJECT-PLAN-JOB, e.g. BAM-MAIN-JOBX
/// Gets the job key for the current job, in the form PROJECT-PLAN-JOB, e.g. BAM-MAIN-JOBX
/// </summary>
/// <value>
/// The Bamboo Build Key.
Expand Down
1 change: 1 addition & 0 deletions src/Cake.Common/Build/Bamboo/Data/BambooEnvironmentInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ public string ShortPlanKey
{
get { return GetEnvironmentString("bamboo_shortPlanKey"); }
}

/// <summary>
/// Gets the Bamboo short Plan Name
/// </summary>
Expand Down
4 changes: 1 addition & 3 deletions src/Cake.Common/Build/Bamboo/Data/BambooProjectInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ namespace Cake.Common.Build.Bamboo.Data
/// </summary>
public sealed class BambooProjectInfo : BambooInfo
{

/// <summary>
/// The key of the current plan, in the form PROJECT-PLAN, e.g. BAM-MAIN
/// Gets the key of the current plan, in the form PROJECT-PLAN, e.g. BAM-MAIN
/// </summary>
/// <value>
/// The project name.
Expand All @@ -19,7 +18,6 @@ public string PlanKey
get { return GetEnvironmentString("bamboo_planKey"); }
}


/// <summary>
/// Initializes a new instance of the <see cref="BambooProjectInfo"/> class.
/// </summary>
Expand Down
1 change: 0 additions & 1 deletion src/Cake.Common/Build/Bamboo/Data/BambooRepositoryInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ public string Branch
get { return GetEnvironmentString("bamboo_planRepository_branch"); }
}


/// <summary>
/// Gets the commit information for the build.
/// </summary>
Expand Down
11 changes: 7 additions & 4 deletions src/Cake.Common/Build/BuildSystem.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using System;
using Cake.Common.Build.AppVeyor;
using Cake.Common.Build.Bamboo;
using Cake.Common.Build.MyGet;
using Cake.Common.Build.TeamCity;
using Cake.Common.Build.Bamboo;

namespace Cake.Common.Build
{
Expand Down Expand Up @@ -42,6 +42,7 @@ public BuildSystem(IAppVeyorProvider appVeyorProvider, ITeamCityProvider teamCit
{
throw new ArgumentNullException("bambooProvider");
}

_appVeyorProvider = appVeyorProvider;
_teamCityProvider = teamCityProvider;
_myGetProvider = myGetProvider;
Expand Down Expand Up @@ -166,7 +167,8 @@ public IMyGetProvider MyGet
/// <code>
/// if(BuildSystem.IsRunningOnBamboo)
/// {
///
/// // Get the build number.
/// var buildNumber = BuildSystem.Bamboo.Number;
///
/// }
/// </code>
Expand All @@ -176,7 +178,7 @@ public IMyGetProvider MyGet
/// </value>
public bool IsRunningOnBamboo
{
get {return _bambooProvider.IsRunningOnBamboo; }
get { return _bambooProvider.IsRunningOnBamboo; }
}

/// <summary>
Expand All @@ -186,7 +188,8 @@ public bool IsRunningOnBamboo
/// <code>
/// if(BuildSystem.IsRunningOnBamboo)
/// {
///
/// //Get the Bamboo Plan Name
/// var planName = BuildSystem.Bamboo.Project.PlanName
///
/// }
/// </code>
Expand Down
2 changes: 1 addition & 1 deletion src/Cake.Common/Build/BuildSystemAliases.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using System;
using Cake.Common.Build.AppVeyor;
using Cake.Common.Build.Bamboo;
using Cake.Common.Build.MyGet;
using Cake.Common.Build.TeamCity;
using Cake.Common.Build.Bamboo;
using Cake.Core;
using Cake.Core.Annotations;

Expand Down

0 comments on commit 8aa6204

Please sign in to comment.