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'
|
//stash includes: '/cavis-native/cavis-native-lib/build/lib/*.jar', name: 'cuda-build'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('test-linux-cpu') {
|
/*stage('test-linux-cpu') {
|
||||||
environment {
|
environment {
|
||||||
MAVEN = credentials('Internal Archiva')
|
MAVEN = credentials('Internal Archiva')
|
||||||
OSSRH = credentials('OSSRH')
|
OSSRH = credentials('OSSRH')
|
||||||
|
@ -62,7 +62,7 @@ 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('publish-linux-cpu') {
|
stage('publish-linux-cpu') {
|
||||||
environment {
|
environment {
|
||||||
MAVEN = credentials('Internal Archiva')
|
MAVEN = credentials('Internal Archiva')
|
||||||
|
|
|
@ -467,13 +467,13 @@ javadoc {
|
||||||
|
|
||||||
if(! osdetector.os.startsWith("windows")) {
|
if(! osdetector.os.startsWith("windows")) {
|
||||||
tasks.getByName("publish") {
|
tasks.getByName("publish") {
|
||||||
enabled = false
|
enabled = true
|
||||||
}
|
}
|
||||||
tasks.getByName("generatePomFileForMavenJavaPublication") {
|
tasks.getByName("generatePomFileForMavenJavaPublication") {
|
||||||
enabled = false
|
enabled = true
|
||||||
}
|
}
|
||||||
tasks.getByName("publishMavenJavaPublicationToLocalRemoteRepository") {
|
tasks.getByName("publishMavenJavaPublicationToLocalRemoteRepository") {
|
||||||
enabled = false
|
enabled = true
|
||||||
}
|
}
|
||||||
chipList.each {thisChip ->
|
chipList.each {thisChip ->
|
||||||
artifacts {
|
artifacts {
|
||||||
|
@ -485,6 +485,7 @@ if(! osdetector.os.startsWith("windows")) {
|
||||||
publishing {
|
publishing {
|
||||||
publications {
|
publications {
|
||||||
mavenJava(MavenPublication) {
|
mavenJava(MavenPublication) {
|
||||||
|
log.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