Add jenkinsfile for pipeline build and dockerfile for build
Signed-off-by: brian <brian@brutex.de>master
parent
1ee6b7a231
commit
941275df3a
|
@ -388,7 +388,7 @@ chipList.each { thisChip ->
|
||||||
//}
|
//}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Generates jnijavacpp.cpp and jniNativeLibrary.cpp, compiles and links it
|
// Create Jar with classifier
|
||||||
tasks.getByName("${thisChip}SupportJar") { Jar thisTask ->
|
tasks.getByName("${thisChip}SupportJar") { Jar thisTask ->
|
||||||
dependsOn "javacpp${thisChip.capitalize()}SupportBuildCompiler"
|
dependsOn "javacpp${thisChip.capitalize()}SupportBuildCompiler"
|
||||||
dependsOn "javacpp${thisChip.capitalize()}SupportBuildCommand"
|
dependsOn "javacpp${thisChip.capitalize()}SupportBuildCommand"
|
||||||
|
@ -405,7 +405,7 @@ chipList.each { thisChip ->
|
||||||
}
|
}
|
||||||
return exclude
|
return exclude
|
||||||
}
|
}
|
||||||
into "${javacppPlatform}/" //we need it in a platform, that javacpp Loader understands
|
into "${javacppPlatform}/" //path within jar, we need it in a platform, that javacpp Loader understands
|
||||||
}
|
}
|
||||||
from(sourceSets.getByName("${thisChip}Support").getOutput()) {
|
from(sourceSets.getByName("${thisChip}Support").getOutput()) {
|
||||||
|
|
||||||
|
@ -466,9 +466,9 @@ javadoc {
|
||||||
|
|
||||||
|
|
||||||
if(! osdetector.os.startsWith("windows")) {
|
if(! osdetector.os.startsWith("windows")) {
|
||||||
tasks.getByName("publish") {
|
//tasks.getByName("publish") {
|
||||||
enabled = true
|
// enabled = false
|
||||||
}
|
// }
|
||||||
tasks.getByName("generatePomFileForMavenJavaPublication") {
|
tasks.getByName("generatePomFileForMavenJavaPublication") {
|
||||||
enabled = true
|
enabled = true
|
||||||
}
|
}
|
||||||
|
@ -480,6 +480,8 @@ if(! osdetector.os.startsWith("windows")) {
|
||||||
archives tasks.getByName("${thisChip}SupportJar")
|
archives tasks.getByName("${thisChip}SupportJar")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
chipList.each { thisChip ->
|
chipList.each { thisChip ->
|
||||||
publishing {
|
publishing {
|
||||||
|
@ -491,7 +493,7 @@ if(! osdetector.os.startsWith("windows")) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
if( osdetector.os.startsWith("windows")) {
|
if( osdetector.os.startsWith("windows")) {
|
||||||
|
|
Loading…
Reference in New Issue