Fix Creds

This commit is contained in:
Zoe 2021-01-23 10:57:10 -06:00
parent 372911fcb1
commit 5969cc2120

10
Jenkinsfile vendored
View File

@ -49,10 +49,12 @@ pipeline {
mavenLocalRepo: '.repository',
publisherStrategy: 'EXPLICIT'
) {
sh '''
./gradlew build
./gradlew publish
'''
withCredentials([usernamePassword(credentialsId: 'jenkins-deploy', usernameVariable: 'ORG_GRADLE_PROJECT_mavenUsername', passwordVariable: 'ORG_GRADLE_PROJECT_mavenPassword')]) {
sh '''
./gradlew build
./gradlew publish
'''
}
}
}
}