This message was deleted.
# community-support
s
This message was deleted.
e
the easiest way is to pass them in the environment. setting
ORG_GRADLE_PROJECT_mypassword=
behaves like adding
-Pmypassword=
to the Gradle command or as a Gradle property
👍 1
e
and yes, if the password is for a maven repository or something else that uses Gradle's credentials support, do that.
s
Those are useful links and some of which I've seen, but it all seems to boil back down to "pass it via environment variable". Which means my password is exposed in the environment vars. I feel like none of these solutions consider how CI systems actually behave. I wanted to just be able to give it a secure path to a securely stored properties file. I do this with maven currently, I pass in -Dsettings or whatever to settings.xml
But..I can't do that with gradle? So the solution is to put my password in an environment variable which is then exposed? That can't be correct
e
CI systems all support a way to pass environment variables without displaying them in the logs
also, almost all of them support masking out secrets in the commands or log output
s
Hm yes you are correct, checking the Azure pipelines docs. Thank you I'll give that a shot