Testing CI

This commit is contained in:
Ziver Koc 2024-09-11 01:22:47 +02:00
parent 350c904a50
commit a31c73149c

15
Jenkinsfile vendored
View file

@ -1,13 +1,6 @@
#!groovy
// Jenkinsfile (Pipeline Script)
mavenConfiguration = [
jdk: "jdk-11",
maven: "m3.5",
mavenLocalRepo: ".repository",
mavenSettingsConfig: "639c4560-87b7-4502-bb3d-2c44845cd2b5"
]
pipeline {
agent any
@ -22,15 +15,15 @@ pipeline {
stages {
stage('Checkout') {
steps {
checkout scm
checkout scm
}
}
stage('Build') {
steps{
withGradle {
sh "chmod +x ./gradlew"
sh "./gradlew ${gradleParams} -x test clean build"
sh "chmod +x ./gradlew"
sh "./gradlew ${gradleParams} -x test clean build"
}
}
}
@ -38,7 +31,7 @@ pipeline {
stage('Test') {
steps {
withGradle {
sh "./gradlew ${gradleParams} test"
sh "./gradlew ${gradleParams} test"
}
}
}