-
Bug
-
Resolution: Fixed
-
Major
-
Ubuntu precise
Java 1.7
Maven 3.1
During upload of console log an exception is thrown and the connection pipe gets closed which results in copying only a portion of the console log to the remote server. This feature was working when used with Jenkins 1.525, but started to fail when I upgraded to Jenkins 1.540.
The exception occurs when writer.flush() is called in ConsoleRunnable thread.
steps to repro:
1. get and install the latest version of the scp plugin
2. goto jenkins global config page and configure an scp server
3. create a new job
4. add a 'Publish artifacts to SCP Repository' build step
5. select to copy console log
6. run a build (with a relatively large log maybe ~5 MB)
7. verify that entire console log is copied to the remote server.
[JENKINS-21138] scp plugin throws exception while uploading console log
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Progress [ 3 ] | New: Resolved [ 5 ] |
Workflow | Original: JNJira [ 153000 ] | New: JNJira + In-Review [ 194426 ] |