Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 435457

Summary: Need settings.xml changes for Orion Hudson instance
Product: Community Reporter: Mark Macdonald <mamacdon>
Component: CI-JenkinsAssignee: CI Admin Inbox <ci.admin-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: thanh.ha, webmaster
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on:    
Bug Blocks: 434268    

Description Mark Macdonald CLA 2014-05-21 20:39:52 EDT
I am adding support to the Orion build for runing unit tests remotely. This requires storing some auth credentials in the Maven settings.xml file for our Hudson instance. I believe the file is typically at ${HOME}/.m2/settings.xml.

We do not have access to the filesystem on the Hudson instance. Can someone help me merge in the new settings that we need?

Please contact me by email or IRC and I can provide the settings.xml file that we want to merge in. (I have not attached it here because I don't think there's a secure-ish way to attach files in Bugzilla.)
Comment 1 Mark Macdonald CLA 2014-05-21 20:42:03 EDT
Wrong component
Comment 2 Thanh Ha CLA 2014-05-22 10:13:24 EDT
I made some modifications to the settings.xml file you provided so that the password is encrypted on the server and installed it as a Maven 3 Configuration.

You will need to follow the same steps as mentioned in the Nexus wiki page [1] to configure the "Deploy to repo.eclipse.org" settings file however in this case you will need to use the "Orion Custom Settings" option instead.

If your job needs to both using this custom settings file as well as deploy to repo.eclipse.org. You will need to branch off the "deploy" goal into it's own separate build step so that you can select the "Deploy to repo.eclipse.org" settings file for the deployment step.

Let us know if there's any issues with this setup.


[1] https://wiki.eclipse.org/Services/Nexus#Hudson_Job_Setup
Comment 3 Thanh Ha CLA 2014-05-22 10:28:22 EDT
We decided to merge the 2 settings.xml files into 1 titled "Run unit tests and deploy to repo.eclipse.org" so that we don't need to use the 2 build steps for deploying.