Hello ShaneG,

On the command-line, if you do this:

export GO_REPO_PASSWORD=abcde
mvn ...

... does it work?

Since this error is coming from Maven and not GoCD, I'm wondering whether
the environment variable is not expanded by Maven. Braces are special in
the <password> field in settings.xml as you can see from here
<http://maven.apache.org/guides/mini/guide-encryption.html>. So, my guess
is that the "$" is ignored and the braces are considered to be part of an
encrypted password.

Cheers,
Aravind


On Thu, Nov 30, 2017 at 11:08 AM, ShaneG <[email protected]> wrote:

> Good suggestion, but no everything looks ok from that point of view
>
> On Thursday, 30 November 2017 15:19:54 UTC, Ketan Padegaonkar wrote:
>>
>> On Thu, Nov 30, 2017 at 8:46 PM ShaneG <[email protected]> wrote:
>>
>>> I did try that and it wouldn't retrieve the value, t works fine for
>>> ${GO_REPO_USER} so i can't see why it would be any different for
>>> ${GO_REPO_PASSWORD}
>>>
>>
>> Maybe a typo in environment variable name, or perhaps a special character
>> in the password needs xml escaping?
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "go-cd" 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.
>

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" 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