Update Jenkinsfile
This commit is contained in:
parent
4c387bd4a4
commit
ef91b73ed5
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
|
|
@ -3,10 +3,13 @@ pipeline {
|
|||
stages {
|
||||
stage('Gradle') {
|
||||
steps {
|
||||
sh '''
|
||||
withCredentials([usernamePassword(credentialsId: 'alttd-snapshot-user', usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD')]) {
|
||||
sh '''
|
||||
set +x
|
||||
chmod +x gradlew
|
||||
./gradlew build
|
||||
'''
|
||||
./gradlew build -PalttdSnapshotUsername=$USERNAME -PalttdSnapshotPassword=$PASSWORD
|
||||
'''
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Archive') {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user