Change jenkins pipeline credentials id for MAVEN

Signed-off-by: brian <brian@brutex.de>
enhance-build-infrastructure
Brian Rosenberger 2023-07-26 11:49:35 +02:00
parent 8f51471a31
commit b34b96d929
1 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ pipeline {
//args '--gpus all' --needed for test only, you can build without GPU
}
*/
label 'linux'
label 'linux && cuda'
}
stages {
@ -51,7 +51,7 @@ pipeline {
steps {
withGradle {
sh 'sh ./gradlew build --stacktrace -x test -PCAVIS_CHIP=cuda \
sh 'sh ./gradlew build --stacktrace -PCAVIS_CHIP=cuda \
-Pmavenuser=$MAVEN_USR -Pmavenpass=$MAVEN_PSW \
-PossrhUsername=$OSSRH_USR -PossrhPassword=$OSSRH_PSW'
}