本文整理汇总了Java中jetbrains.buildServer.serverSide.SRunningBuild.getFullName方法的典型用法代码示例。如果您正苦于以下问题:Java SRunningBuild.getFullName方法的具体用法?Java SRunningBuild.getFullName怎么用?Java SRunningBuild.getFullName使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类jetbrains.buildServer.serverSide.SRunningBuild
的用法示例。
在下文中一共展示了SRunningBuild.getFullName方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: buildFinished
import jetbrains.buildServer.serverSide.SRunningBuild; //导入方法依赖的package包/类
@Override
public void buildFinished(@NotNull SRunningBuild build) {
if (buildScanDisplayArbiter.showBuildScanInfo(build)) {
// prepare the cache to be ready when queried by the UI
BuildScanReferences buildScans = buildScanLookup.getBuildScansForBuild(build);
// notify external integration points
if (!buildScans.isEmpty()) {
TeamCityBuildStatus teamCityBuildStatus = TeamCityBuildStatus.from(build.getBuildStatus());
TeamCityConfiguration teamCityConfiguration = new TeamCityConfiguration(build.getFullName(), build.getParametersProvider().getAll());
externalIntegration.handle(buildScans, teamCityBuildStatus, teamCityConfiguration);
}
}
}
示例2: notifyBuildSuccessful
import jetbrains.buildServer.serverSide.SRunningBuild; //导入方法依赖的package包/类
@Override
public void notifyBuildSuccessful(@NotNull SRunningBuild build, @NotNull Set<SUser> users) {
String message = "**#" + build.getBuildNumber() + " " + build.getFullName() + " (`" + getBranchName(build.getBranch()) + "`) Successful**";
doNotify(message, users);
}
示例3: notifyBuildStarted
import jetbrains.buildServer.serverSide.SRunningBuild; //导入方法依赖的package包/类
@Override
public void notifyBuildStarted(@NotNull SRunningBuild build, @NotNull Set<SUser> users) {
String message = " #" + build.getBuildNumber() + " " + build.getFullName() + " (`" + getBranchName(build.getBranch()) + "`) Started";
doNotify(message, users);
}
示例4: notifyBuildFailed
import jetbrains.buildServer.serverSide.SRunningBuild; //导入方法依赖的package包/类
@Override
public void notifyBuildFailed(@NotNull SRunningBuild build, @NotNull Set<SUser> users) {
String message = "**#" + build.getBuildNumber() + " " + build.getFullName() + " (`" + getBranchName(build.getBranch()) + "`) Failed**";
doNotify(message, users);
}
示例5: notifyBuildFailing
import jetbrains.buildServer.serverSide.SRunningBuild; //导入方法依赖的package包/类
@Override
public void notifyBuildFailing(@NotNull SRunningBuild build, @NotNull Set<SUser> users) {
String message = "**#" + build.getBuildNumber() + " " + build.getFullName() + " (`" + getBranchName(build.getBranch()) + "`) Failing**";
doNotify(message, users);
}
示例6: notifyBuildFailedToStart
import jetbrains.buildServer.serverSide.SRunningBuild; //导入方法依赖的package包/类
@Override
public void notifyBuildFailedToStart(@NotNull SRunningBuild build, @NotNull Set<SUser> users) {
String message = "**#" + build.getBuildNumber() + " " + build.getFullName() + " (`" + getBranchName(build.getBranch()) + "`) Failed To Start**";
doNotify(message, users);
}