CI: add a jenkinsfile

This commit is contained in:
zontreck 2025-03-20 12:17:35 -07:00
parent 4cdb0f48c0
commit ae78e9c97c

30
Jenkinsfile vendored Normal file
View file

@ -0,0 +1,30 @@
pipeline {
agent any
options {
buildDiscarder(logRotator(numToKeepStr: '5'))
}
stages {
stage('Build') {
agent {
label 'linux'
}
steps {
echo 'Building..'
script {
sh '''
#!/bin/bash
chmod +x gradlew
./gradlew clean build
'''
}
}
post {
always {
archiveArtifacts artifacts: 'build/libs/*.jar'
}
}
}
}
}