Re: nexusUser and nexusPassword

2023-01-21 Thread opayq-gg
Hi, if you use nexusUser and nexusPassword in build.gradle like that, you can (ab)use environment variables to inject the credentials from Jenkins to Gradle as project properties (which you can access the same way as gradle properties). https://docs.gradle.org/current/userguide

Re: nexusUser and nexusPassword

2023-01-21 Thread 'Martin Schmude' via Jenkins Users
redentials-binding/ mats...@gmail.com schrieb am Freitag, 20. Januar 2023 um 21:37:38 UTC+1: > Hi, > > Here is my build.gradle: > > repositories { > mavenLocal() > mavenCentral() > // nexus credentials (nexusUser and nexusPassword) are stored in > ~/.gradle/gradle.prope

nexusUser and nexusPassword

2023-01-20 Thread Sunil Mathew
Hi, Here is my build.gradle: repositories { mavenLocal() mavenCentral() // nexus credentials (nexusUser and nexusPassword) are stored in ~/.gradle/gradle.properties maven { url "${nexusRepoUrl}/repository/maven-public/" credentials { username = nexusUser password = nexusPassword } } }