Interface AgentRunningBuildSshKeyManager

  • All Superinterfaces:
    TeamCityExtension

    public interface AgentRunningBuildSshKeyManager
    extends TeamCityExtension
    Gives an ability to get an uploaded SSH key for currently running build on agent
    • Method Detail

      • getKey

        @Nullable
        TeamCitySshKey getKey​(@NotNull
                              java.lang.String keyId)
        Returns an uploaded key for the given keyId or null if key not found or there was a problem retrieving it
        Parameters:
        keyId - uploaded key id
        Returns:
        see above