diff --git a/Jenkinsfile b/Jenkinsfile index 93ec928..12b9477 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,7 +3,7 @@ pipeline { stages { stage('Gradle') { steps { - sh 'bash gradlew build' + sh './gradlew build -PalttdSnapshotUsername=$NEXUS_CREDS_USR -PalttdSnapshotPassword=$NEXUS_CREDS_PSW' } } stage('Archive') { @@ -23,4 +23,4 @@ pipeline { } } } -} \ No newline at end of file +}