Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>master
parent
941275df3a
commit
a9890feb9f
|
@ -60,14 +60,14 @@ pipeline {
|
|||
OSSRH = credentials('OSSRH')
|
||||
}
|
||||
|
||||
steps {
|
||||
withGradle {
|
||||
sh 'sh ./gradlew test --stacktrace -PCAVIS_CHIP=cpu \
|
||||
-Pmavenuser=$MAVEN_USR -Pmavenpass=$MAVEN_PSW \
|
||||
-PossrhUsername=$OSSRH_USR -PossrhPassword=$OSSRH_PSW'
|
||||
}
|
||||
//steps {
|
||||
// withGradle {
|
||||
// sh 'sh ./gradlew test --stacktrace -PCAVIS_CHIP=cpu \
|
||||
// -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'
|
||||
}
|
||||
//}
|
||||
}
|
||||
stage('publish-linux-cpu') {
|
||||
environment {
|
||||
|
|
|
@ -487,7 +487,6 @@ chipList.each { thisChip ->
|
|||
publishing {
|
||||
publications {
|
||||
mavenJava(MavenPublication) {
|
||||
logger.quiet("Adding artifacts from task {} to the publication.", "${thisChip}SupportJar" )
|
||||
artifact tasks.getByName("${thisChip}SupportJar")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue