diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 000000000..42740b591 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,22 @@ + +//noinspection GroovyAssignabilityCheck +pipeline { + options { + buildDiscarder(logRotator(numToKeepStr: "10")) + } + agent { + label 'k8s' // This should match the label of your Kubernetes pod template + } + tools { + jdk 'jdk21' + maven 'maven' + } + stages { + stage('Build') { + steps { + // sh 'mvn spotless:apply install -Dspotless.check.skip=true' + sh 'mvn install -DskipITs -DskipTests=true' + } + } + } +}