Search in sources :

Example 11 with PluginConfigImpl

use of jetbrains.buildServer.buildTriggers.vcs.git.agent.PluginConfigImpl in project teamcity-git by JetBrains.

the class AgentConfigPluginTest method test_negative_idle_timeout.

public void test_negative_idle_timeout() throws VcsException {
    myBuildSharedConfigParameters.put("teamcity.git.idle.timeout.seconds", "-60");
    PluginConfigImpl config = getPluginConfig();
    assertEquals(PluginConfig.DEFAULT_IDLE_TIMEOUT, config.getIdleTimeoutSeconds());
}
Also used : PluginConfigImpl(jetbrains.buildServer.buildTriggers.vcs.git.agent.PluginConfigImpl)

Example 12 with PluginConfigImpl

use of jetbrains.buildServer.buildTriggers.vcs.git.agent.PluginConfigImpl in project teamcity-git by JetBrains.

the class AgentConfigPluginTest method test_change_use_native_ssh.

public void test_change_use_native_ssh() throws VcsException {
    myBuildSharedConfigParameters.put("teamcity.git.use.native.ssh", "true");
    PluginConfigImpl config = getPluginConfig();
    assertTrue(config.isUseNativeSSH());
}
Also used : PluginConfigImpl(jetbrains.buildServer.buildTriggers.vcs.git.agent.PluginConfigImpl)

Aggregations

PluginConfigImpl (jetbrains.buildServer.buildTriggers.vcs.git.agent.PluginConfigImpl)12 GitExec (jetbrains.buildServer.buildTriggers.vcs.git.command.GitExec)1