How do I pass password to Gradle?

My Gradle build script uses Artifactory. I need to pass username/password to Gradle. How do I do that?

Hello

If you are asking about the Codefresh side, you can use pipeline variables or shared configuration

If you are asking about the Gradle side, you can follow their official docs

https://www.jfrog.com/confluence/display/JFROG/Working+with+Gradle

1 Like