Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>master
parent
81d49ba1f0
commit
e3d64a1cac
|
@ -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')
|
||||
|
|
|
@ -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")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue