Pass maven settings to other runners (e.g. docker build)

When building with maven, we can store the maven settings.xml in teamcity and it will get passed to maven build runners.

But what if there is a script that wraps maven? Currently a docker build (a multi-stage Dockerfile). Can we somehow get the reference to the maven settings to propagate it to such a step?

0
2 comments

Hi,
We can't use Qodana Runner with private MVN repoistory without posibility to pass URL and credentials or even settings.xml into Qoadana docker container.
Has anyone a workaround for it? 

0

Hi Rar91279 ,

Can you please share more details on what you are trying to achieve and what is blocking you? 

 

0

Please sign in to leave a comment.