Search in sources :

Example 1 with GitProgressListener

use of jetbrains.buildServer.buildTriggers.vcs.git.command.impl.GitProgressListener in project teamcity-git by JetBrains.

the class GitCommandLine method createStderrBuffer.

@NotNull
public ByteArrayOutputStream createStderrBuffer() {
    LineAwareByteArrayOutputStream buffer = new LineAwareByteArrayOutputStream(Charset.forName("UTF-8"), new GitProgressListener(myLogger));
    buffer.setCREndsLine(true);
    return buffer;
}
Also used : GitProgressListener(jetbrains.buildServer.buildTriggers.vcs.git.command.impl.GitProgressListener) LineAwareByteArrayOutputStream(jetbrains.buildServer.LineAwareByteArrayOutputStream) NotNull(org.jetbrains.annotations.NotNull)

Aggregations

LineAwareByteArrayOutputStream (jetbrains.buildServer.LineAwareByteArrayOutputStream)1 GitProgressListener (jetbrains.buildServer.buildTriggers.vcs.git.command.impl.GitProgressListener)1 NotNull (org.jetbrains.annotations.NotNull)1