From 7d046a060e72c0487e8bfebbe659b13b07221c68 Mon Sep 17 00:00:00 2001 From: akastijn Date: Sat, 28 Jun 2025 02:59:55 +0200 Subject: [PATCH] Use Jenkins credentials binding for Nexus snapshot authentication --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 04080f0..7bdb82f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,7 +3,7 @@ pipeline { stages { stage('Gradle') { steps { - withCredentials([usernameColonPassword(credentialsId: 'alttd-snapshot-user', usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD')]) { + withCredentials([usernamePassword(credentialsId: 'alttd-snapshot-user', usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD')]) { sh ''' set +x chmod +x gradlew