Add jenkinsfile for pipeline build and dockerfile for build

Signed-off-by: brian <brian@brutex.de>
master
Brian Rosenberger 2022-10-25 20:47:28 +02:00
parent ef4f3a9841
commit a6d60a4cdb
1 changed files with 4 additions and 2 deletions

View File

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