Add jenkinsfile for pipeline build and dockerfile for build

Signed-off-by: brian <brian@brutex.de>
master
Brian Rosenberger 2022-10-25 13:51:11 +02:00
parent 9229c9d0f8
commit c912c4ece1
1 changed files with 9 additions and 0 deletions

View File

@ -93,6 +93,15 @@ publishing {
mavenJava(MavenPublication) { mavenJava(MavenPublication) {
// artifact customFatJar // artifact customFatJar
// from components.java // from components.java
pom.withXml {
def dependencyNode = asNode().appendNode('dependencies').appendNode('dependency')
dependencyNode.appendNode('groupId', 'net.brutex.cavis')
dependencyNode.appendNode('artifactId', 'cavis-native-lib')
dependencyNode.appendNode('version', project.version)
dependencyNode.appendNode('classifier', 'linux-x86_64-avx2-cpu')
dependencyNode.appendNode('scope', 'compile')
}
} }
} }
} }