rundeck-plugins / nexus-step-plugins

7 stars 7 forks source link

Redirect url should not contains /nexus #3

Open jlouisb opened 9 years ago

jlouisb commented 9 years ago

Hi,

Redirect urls should not contains the /nexus part. Since nexus context can be bound to e.g http://nexus.mydomain.tld/ the plugin doesn't work when hardcoding this part of the url.

Regards

fellenberger commented 8 years ago

Is it possible to get an official release with this fix included? I'm running into this issue attempting to interact with our Nexus 2.11.3-01 implementation, and cannot verify if the plugin will work with this install due to the hard-coded "nexus" issue.

In the execution log, I am seeing requests like "http://servername/nexus", although we have our Nexus deployed to "http://servername/tis611", and I have defined framework.properties as such:

----------------------------------------------------------------

Nexus Step Plugin config

----------------------------------------------------------------

framework.plugin.WorkflowStep.nexus-deliver-artifact-step.nexus=http://servername/tis611/ framework.plugin.WorkflowStep.nexus-deliver-artifact-step.nexusUser=username framework.plugin.WorkflowStep.nexus-deliver-artifact-step.nexusPassword=password framework.plugin.WorkflowStep.nexus-register-delivery-step.modelDirPath=/tmp

thx

grafjo commented 8 years ago

Hi,

this should be fixed by https://github.com/rundeck-plugins/nexus-step-plugins/pull/9