23 lines
452 B
Groovy
23 lines
452 B
Groovy
pipeline {
|
|
agent {
|
|
dockerfile true
|
|
}
|
|
stages {
|
|
stage('Setup') {
|
|
steps {
|
|
sh 'cd scripts; ./setup.sh'
|
|
}
|
|
}
|
|
stage('Build') {
|
|
steps {
|
|
sh './gradlew build'
|
|
}
|
|
post {
|
|
success {
|
|
archiveArtifacts artifacts: 'build/libs/*', fingerprint: true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|