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