forked from Inedo/inedox-teamcity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SelectBuildConfigurationVariable.cs
28 lines (26 loc) · 1.18 KB
/
SelectBuildConfigurationVariable.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Inedo.BuildMaster.Extensibility.Variables;
using Inedo.BuildMaster;
using System.ComponentModel;
using Inedo.BuildMaster.Web;
namespace Inedo.BuildMasterExtensions.TeamCity
{
[VariableProperties("TeamCity Build Configuration", "Allows selection of a Build Configuration from a TeamCity Instance")]
[CustomSetter(typeof(SelectBuildConfigurationVariableSetter))]
public sealed class SelectBuildConfigurationVariable : VariableBase
{
[Persistent]
[DisplayName("Configuration Profile")]
[Category("Configuration")]
[Description("When set, uses the specified configuration TeamCity profile instead of the default. This can be important when you have multiple TeamCity instances configured within BuildMaster.")]
public string ConfigurationProfileName { get; set; }
[Persistent]
[DisplayName("Project Name Filter")]
[Category("Project")]
[Description("When set, filters the selectable build configurations to the specified project.")]
public string ProjectNameFilter { get; set; }
}
}