Java Code Examples for jetbrains.buildServer.serverSide.SBuildType#getBuildTypeId()

The following examples show how to use jetbrains.buildServer.serverSide.SBuildType#getBuildTypeId() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: TeamCityIdResolver.java    From tcSlackBuildNotifier with MIT License 5 votes vote down vote up
public static String getBuildTypeId(SBuildType buildType){
	try {
		return buildType.getExternalId();
	} catch (NoSuchMethodError ex) {
		LOGGER.log(Level.INFO,ex.getMessage(),ex);
		return buildType.getBuildTypeId();
	}
}
 
Example 2
Source File: TeamCityIdResolver.java    From tcSlackBuildNotifier with MIT License 5 votes vote down vote up
public static String getExternalBuildId(SBuildType buildType){
	try {
		return buildType.getExternalId();
	} catch (NoSuchMethodError ex) {
		LOGGER.log(Level.INFO,ex.getMessage(),ex);
		return buildType.getBuildTypeId();
	}
}
 
Example 3
Source File: TeamCityIdResolver.java    From tcSlackBuildNotifier with MIT License 5 votes vote down vote up
public static String getInternalBuildId(SBuildType buildType){
	try {
		return buildType.getInternalId();
	} catch (NoSuchMethodError ex) {
		LOGGER.log(Level.INFO,ex.getMessage(),ex);
		return buildType.getBuildTypeId();
	}
}