add test stage to linux cuda on docker build

Signed-off-by: brian <brian@brutex.de>
master
Brian Rosenberger 2023-07-27 22:15:16 +02:00
parent e11568605d
commit 3ea555b645
1 changed files with 15 additions and 0 deletions

View File

@ -56,5 +56,20 @@ pipeline {
//stash includes: '/cavis-native/cavis-native-lib/build/lib/*.jar', name: 'cuda-build' //stash includes: '/cavis-native/cavis-native-lib/build/lib/*.jar', name: 'cuda-build'
} }
} }
stage('test-linux-cuda') {
environment {
MAVEN = credentials('Internal_Archiva')
OSSRH = credentials('OSSRH')
}
steps {
withGradle {
sh 'sh ./gradlew test --stacktrace -PexcludeTests=\'long-running,performance\' -Pskip-native=true -PCAVIS_CHIP=cuda \
-Pmavenuser=$MAVEN_USR -Pmavenpass=$MAVEN_PSW \
-PossrhUsername=$OSSRH_USR -PossrhPassword=$OSSRH_PSW'
}
//stash includes: '/cavis-native/cavis-native-lib/build/lib/*.jar', name: 'cuda-build'
}
}
} }
} }