debugo
This commit is contained in:
10
vars/buildJar.groovy
Normal file
10
vars/buildJar.groovy
Normal 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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user