fabric8io / jenkins-pipeline-library

a collection of reusable jenkins pipelines and pipeline functions
Apache License 2.0
275 stars 179 forks source link

java artifacts are not being deployed to nexus #177

Closed rawlingsj closed 8 years ago

rawlingsj commented 8 years ago

this line here https://github.com/fabric8io/jenkins-pipeline-library/blob/master/vars/mavenCanaryRelease.groovy#L15 should be replaced with mvn install deploy

but there's an odd error thats started happening where the deploy phase cant find the local artifacts to send to nexus

KurtStam commented 8 years ago

This was fixed by changing the .m2/settings.xml:

https://github.com/fabric8io/fabric8-devops/issues/622 https://github.com/fabric8io/fabric8-devops/pull/623

We must have upgraded the maven version and this changed which altRepo was picked.