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')
|
OSSRH = credentials('OSSRH')
|
||||||
}
|
}
|
||||||
|
|
||||||
steps {
|
//steps {
|
||||||
withGradle {
|
// withGradle {
|
||||||
sh 'sh ./gradlew test --stacktrace -PCAVIS_CHIP=cpu \
|
// sh 'sh ./gradlew test --stacktrace -PCAVIS_CHIP=cpu \
|
||||||
-Pmavenuser=$MAVEN_USR -Pmavenpass=$MAVEN_PSW \
|
// -Pmavenuser=$MAVEN_USR -Pmavenpass=$MAVEN_PSW \
|
||||||
-PossrhUsername=$OSSRH_USR -PossrhPassword=$OSSRH_PSW'
|
// -PossrhUsername=$OSSRH_USR -PossrhPassword=$OSSRH_PSW'
|
||||||
}
|
// }
|
||||||
//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('publish-linux-cpu') {
|
stage('publish-linux-cpu') {
|
||||||
environment {
|
environment {
|
||||||
|
|
|
@ -487,7 +487,6 @@ chipList.each { thisChip ->
|
||||||
publishing {
|
publishing {
|
||||||
publications {
|
publications {
|
||||||
mavenJava(MavenPublication) {
|
mavenJava(MavenPublication) {
|
||||||
logger.quiet("Adding artifacts from task {} to the publication.", "${thisChip}SupportJar" )
|
|
||||||
artifact tasks.getByName("${thisChip}SupportJar")
|
artifact tasks.getByName("${thisChip}SupportJar")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue