Add jenkinsfile for pipeline build and dockerfile for build

Signed-off-by: brian <brian@brutex.de>
master
Brian Rosenberger 2022-10-12 16:55:13 +02:00
parent 81d49ba1f0
commit e3d64a1cac
2 changed files with 6 additions and 5 deletions

View File

@ -48,7 +48,7 @@ pipeline {
//stash includes: '/cavis-native/cavis-native-lib/build/lib/*.jar', name: 'cuda-build'
}
}
stage('test-linux-cpu') {
/*stage('test-linux-cpu') {
environment {
MAVEN = credentials('Internal Archiva')
OSSRH = credentials('OSSRH')
@ -62,7 +62,7 @@ pipeline {
}
//stash includes: '/cavis-native/cavis-native-lib/build/lib/*.jar', name: 'cuda-build'
}
}
}*/
stage('publish-linux-cpu') {
environment {
MAVEN = credentials('Internal Archiva')

View File

@ -467,13 +467,13 @@ javadoc {
if(! osdetector.os.startsWith("windows")) {
tasks.getByName("publish") {
enabled = false
enabled = true
}
tasks.getByName("generatePomFileForMavenJavaPublication") {
enabled = false
enabled = true
}
tasks.getByName("publishMavenJavaPublicationToLocalRemoteRepository") {
enabled = false
enabled = true
}
chipList.each {thisChip ->
artifacts {
@ -485,6 +485,7 @@ if(! osdetector.os.startsWith("windows")) {
publishing {
publications {
mavenJava(MavenPublication) {
log.quiet("Adding artifacts from task {} to the publication.", "${thisChip}SupportJar" )
artifact tasks.getByName("${thisChip}SupportJar")
}
}