website.automate.teamcity.agent.AutomateWebsiteAgentBuildRunner Maven / Gradle / Ivy
The newest version!
package website.automate.teamcity.agent;
import website.automate.teamcity.agent.support.AutomateWebsiteAgentBuildRunnerInfo;
import website.automate.teamcity.agent.support.BuildProcessConfig;
import jetbrains.buildServer.RunBuildException;
import jetbrains.buildServer.agent.AgentBuildRunner;
import jetbrains.buildServer.agent.AgentBuildRunnerInfo;
import jetbrains.buildServer.agent.AgentRunningBuild;
import jetbrains.buildServer.agent.BuildProcess;
import jetbrains.buildServer.agent.BuildRunnerContext;
public class AutomateWebsiteAgentBuildRunner implements AgentBuildRunner {
@Override
public BuildProcess createBuildProcess(AgentRunningBuild agentRunningBuild,
BuildRunnerContext buildRunnerContext) throws RunBuildException {
return new AutomateWebsiteBuildProcess(BuildProcessConfig.of(buildRunnerContext.getRunnerParameters(),
buildRunnerContext.getConfigParameters()),
agentRunningBuild.getBuildLogger());
}
@Override
public AgentBuildRunnerInfo getRunnerInfo() {
return AutomateWebsiteAgentBuildRunnerInfo.getInstance();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy