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
}
}
}

How can I provide nexusUser and nexusPassword to the job (ideally globally)?

Regards, Sunil

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAJ-nt3BCqEcDJZKgwG7hmT8brN-MetZJ1Q-kKjqTQLcL%2BKLVQA%40mail.gmail.com.

Reply via email to