This commit is contained in:
2025-05-26 11:55:30 +03:00
commit 6a55d62f7b
5 changed files with 48 additions and 0 deletions

10
vars/buildJar.groovy Normal file
View File

@@ -0,0 +1,10 @@
def call(boolean skipTests = true) {
container('maven') {
def mvnCommand = "mvn install"
if (skipTests) {
mvnCommand += " -DskipTests"
}
sh 'mvnCommand'
echo "Jar file ready"
}
}