-
Notifications
You must be signed in to change notification settings - Fork 593
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mavenBuild
: Set -X
flag when verbose: true
#4608
Comments
Thank you for your contribution! This issue is stale because it has been open 60 days with no activity. In order to keep it open, please remove stale label or add a comment within the next 10 days. If you need a Piper team member to remove the stale label make sure to add |
Hi @SAP/jenkins-library-team, can someone have a look at this? |
Thank you for your contribution! This issue is stale because it has been open 60 days with no activity. In order to keep it open, please remove stale label or add a comment within the next 10 days. If you need a Piper team member to remove the stale label make sure to add |
I still think this is relevant |
Thank you for your contribution! This issue is stale because it has been open 60 days with no activity. In order to keep it open, please remove stale label or add a comment within the next 10 days. If you need a Piper team member to remove the stale label make sure to add |
I still think this is relevant |
Thank you for your contribution! This issue is stale because it has been open 60 days with no activity. In order to keep it open, please remove stale label or add a comment within the next 10 days. If you need a Piper team member to remove the stale label make sure to add |
Issue got stale and no further activity happened. It has automatically been closed. Please re-open in case you still consider it relevant. |
Hi everyone,
In my project, I'm using the
mavenBuild
step. However, recently something went wrong in the pipeline, and maven was giving me an error log. Being maven, it doesn't give the full error logs by default, but offers a-X
switch to do so (see also https://books.sonatype.com/mvnref-book/reference/running-sect-options.html#:~:text=6.1.9.%C2%A0Controlling%20Maven%E2%80%99s%20Verbosity).However, it seems like piper doesn't allow to pass arbitrary flags to maven in
mavenBuild
. I guess there are valid reasons to do so, but in this case it might be a good idea to tie the verbosity of maven to the existing verbosity setting within piper. Ifverbose
istrue
, the-X
flag should be appended to the maven configuration here: https://github.com/SAP/jenkins-library/blob/master/cmd/mavenBuild.go#L42Please let me know if there is another way through which I can set the
-X
flag. Unfortunately, I can't seem to reproduce the particular issue with my maven configuration locally, so I'm hoping for your input here.Kind regards
Lukas
The text was updated successfully, but these errors were encountered: