![]() |
|
|
Issue Type:
|
Bug
|
Assignee:
|
abayer
|
Components:
|
gradle-jpi-plugin |
Created:
|
08/Mar/13 2:21 PM
|
Description:
|
The plugin injects the public Maven repositories. When running a build behind a firewall with local Maven repository this will cause the build to take a very long time (30-60min).
I had to remove the repository URLs after the plugin was loaded.
It would be better if the repository URLs are documented in the Wiki but not injected by default.
Workaround:
// remove external repositories that were injected by JPI plugin - we only use our local Nexus
repositories {
all { repo ->
if (repo.url.toString().contains("http://repo1.maven.org/") || repo.url.toString().contains("http://maven.jenkins-ci.org/")) {
logger.warn "Repository ${repo.url} REMOVED"
remove repo
}
}
}
|
Project:
|
Jenkins
|
Priority:
|
Critical
|
Reporter:
|
Roland Gruber
|
|
|
|
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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit
https://groups.google.com/groups/opt_out.