Issue Type: Bug Bug
Affects Versions: current
Assignee: Unassigned
Components: maven2
Created: 31/Jan/14 12:59 AM
Description:

I've added the <localRepository> key to my Maven settings.xml to define a custom local repository based on environment variables:

<localRepository>/build/m2repository-review/${env.GERRIT_BRANCH}-${env.GERRIT_TOPIC}</localRepository>

This is so that I can use an adhoc-pipeline based on which branch/topic is being built from our Gerrit Code Review server.

This works fine, except for when Jenkin's Maven support tries to parse the poms, and uses the local repository defined in the main Jenkins configuration.

When set to "default", Jenkins uses ~/.m2/repository as a hard-coded value, rather than using what is defined in settings.xml.

Project: Jenkins
Priority: Minor Minor
Reporter: talios
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to