Nelson G.
Nelson G.

Reputation: 5441

Jenkins: too many logs when maven deploy called

In jenkins log, there are too many logs when maven plugin maven-deploy-plugin:2.8.2:deploy is called.

For example, when I try to upload a 50MB war to Nexus, there are:

Uploading: ...
2/51018 KB
4/51018 KB
6/51018 KB
...
25412/51018 KB
...
51018/51018 KB
Uploaded: ...

There is a line for each 2 KB, in this example there are 51018/2 = 25509 lines !

How to configure jenkins (or maven) to only have the upload status like :

Uploading: ...
51018/51018 KB
Uploaded: ...

Upvotes: 3

Views: 560

Answers (1)

khmarbaise
khmarbaise

Reputation: 97537

You can add --batch-mode or the abbreviated variant -B to your maven command.

Upvotes: 5

Related Questions