Remove Nexus credentials from Jenkinsfile and update Gradle command

This commit is contained in:
akastijn 2025-06-28 04:43:19 +02:00
parent 8e8b1a561e
commit 97c7b4958b

5
Jenkinsfile vendored
View File

@ -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') {