-
Notifications
You must be signed in to change notification settings - Fork 87
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
Integration Test failures related to the pluginRepositories
order
#534
Comments
A bit more of analysis: The integration tests of this project are specifying a custom Line 242 in 043e1e0
mrm-maven-plugin ("Mock Repository Manager" - https://www.mojohaus.org/mrm/mrm-maven-plugin/) Maven plugin.
My understanding is that it avoid re-downloading dependencies for each Integration Test execution. This maven-hpi-plugin/src/it/settings.xml Lines 27 to 30 in de738f8
The idea I have is to simulate the behavior of the Jenkins Infra's |
I commit to drive this to resolution as soon as posible as discussed in #532 (comment). |
For what it's worth, I asked Maven developer Tamás Cservenák to audit this plugin a few months back, and here is what he had to say:
So I don't think we're particularly attached to |
That would simplify the work required! Thanks for sharing this and the explanation (and pre-work!) @basil , it is really appreciated. I'm trying this angle then |
Based on https://www.mojohaus.org/mrm/mrm-maven-plugin/examples/invoker-tests.html it seems the reason for doing this was originally
but I just ran |
Just got the same result \o/ |
Sorry for the delay, I got unexpected tasks, still on it |
Oh, while trying the ci.jenkins.io's
I want to work it a little bit more before opening a PR |
This change fixes jenkinsci#534 by allowing Integration Tests to execute in the context of ci.jenkins.io with its `settings.xml` mirroring setup. This change is tested with and without a custom `settings.xml` to ensure both contributors and ci.jenkins.io environments are considered. Signed-off-by: Damien Duportal <damien.duportal@gmail.com>
This change fixes jenkinsci#534 by allowing Integration Tests to execute in the context of ci.jenkins.io with its `settings.xml` mirroring setup. This change is tested with and without a custom `settings.xml` to ensure both contributors and ci.jenkins.io environments are considered. Signed-off-by: Damien Duportal <damien.duportal@gmail.com>
This change fixes jenkinsci#534 by allowing Integration Tests to execute in the context of ci.jenkins.io with its `settings.xml` mirroring setup. This change is tested with and without a custom `settings.xml` to ensure both contributors and ci.jenkins.io environments are considered. Signed-off-by: Damien Duportal <damien.duportal@gmail.com>
Since jenkins-infra/jenkins-infra#3041 was deployed to ci.jenkins.io, the Integration Tests are failing with this kind of errors:
It was caught by @MarkEWaite in #529 and there has been a first tentative in #532.
As per #532 (comment) this issue must be fixed to avoid blocking jenkins-infra/helpdesk#3599
The text was updated successfully, but these errors were encountered: