mirror of
https://github.com/YatopiaMC/Yatopia.git
synced 2025-01-07 17:08:20 +01:00
Fix Creds
This commit is contained in:
parent
372911fcb1
commit
5969cc2120
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@ -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
|
||||
'''
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user