AutoMoneyPlugin/Jenkinsfile
2025-03-20 12:17:35 -07:00

30 lines
No EOL
636 B
Groovy

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