Issue Type: Bug Bug
Assignee: Unassigned
Components: maven-plugin
Created: 27/Feb/15 2:22 PM
Description:

Hello,

I try to use the RedeployPublisher but I have trouble to provide server credentials.
Return code is: 401, ReasonPhrase: Unauthorized.

The RedeployPublisher uses the settings.xml located in the maven installation conf folder.

Maven RedeployPublisher use remote com.------.slave maven settings from : D:\apps\jenkins\com.-----.slave\tools\hudson.tasks.Maven_MavenInstallation\Maven_3.2.1/conf/settings.xml

If I set this file with the server info :
<server>
<id>deploymentRepo</id>
<username>repouser</username>
<password>repopwd</password>
</server>

it works well.

But I cannot really set up this file as it is an automatic install and I have several slaves. Besides I would need to do it for each version of maven.

When I set up the server credentials in my global maven from the plugin Config File Provider Plugin and remove the server section in the
D:\apps\jenkins\com.------.slave\tools\hudson.tasks.Maven_MavenInstallation\Maven_3.2.1/conf/settings.xml

I am not able to publish anymore.
I guess the RedeployPublisher does not really parse the global settings from the Config File Provider Plugin.

regards

Environment: Jenkins 1.599
Config File Provider Plugin 2.7.5
Project: Jenkins
Labels: maven plugin redeploy
Priority: Major Major
Reporter: Simon Devineau
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to