AriasServerEssentials/Jenkinsfile
2025-03-29 01:34:10 -07:00

35 lines
No EOL
653 B
Groovy

pipeline {
agent any
options {
buildDiscarder (
logRotator(numToKeepStr: '5')
)
}
stages {
stage("Build") {
agent {
label 'linux'
}
steps {
script {
sh '''
#!/bin/bash
chmod +x gradlew
./gradlew build
'''
}
}
post {
success {
archiveArtifacts artifacts: "build/libs/*.jar"
cleanWs()
}
}
}
}
}