Create Jenkinsfile

This commit is contained in:
ovkhasch 2025-04-21 00:43:15 +03:00 committed by GitHub
parent 91328af12d
commit 5f13b568f5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

22
Jenkinsfile vendored Normal file
View file

@ -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'
}
}
}
}