Skip to content
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

Unable to add maven repositories to the Jenkins pipeline build #322

Open
dwi67 opened this issue Sep 26, 2017 · 0 comments
Open

Unable to add maven repositories to the Jenkins pipeline build #322

dwi67 opened this issue Sep 26, 2017 · 0 comments

Comments

@dwi67
Copy link

dwi67 commented Sep 26, 2017

I am trying to build FIS 2.0 Karaf based routes using the pipeline library with fabric8 v4. The maven build on fabric8 is not working because of some missing maven artifacts (e.g. 2.17.0.redhat-630187) It seems that the Red Hat General Availability Repository is not used to resolve Red Hat artifacts, so the FIS 2.0 karaf based build breaks (pom based repository definitions are not picked up during the build because of the default maven settings of the Jenkins pod). I found a way to inject a settings.xml file into the build by changing the jenkins pipeline definition (sh "mvn clean --settings ./configuration/settings.xml"), but the fabric8-pipeline-library should be changed to enable this option. Is there another (non intrusive) way to change the maven settings or should we enhance the library?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant