Remove Nexus credentials from Jenkinsfile and update Gradle command
This commit is contained in:
parent
8e8b1a561e
commit
97c7b4958b
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
|
|
@ -1,12 +1,9 @@
|
|||
pipeline {
|
||||
agent any
|
||||
environment {
|
||||
NEXUS_CREDS = credentials('alttd-snapshot-user')
|
||||
}
|
||||
stages {
|
||||
stage('Gradle') {
|
||||
steps {
|
||||
sh './gradlew shadowJar -x test -PalttdSnapshotUsername=$NEXUS_CREDS_USR -PalttdSnapshotPassword=$NEXUS_CREDS_PSW'
|
||||
sh './gradlew build
|
||||
}
|
||||
}
|
||||
stage('Archive') {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user