23 lines
452 B
Plaintext
23 lines
452 B
Plaintext
|
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
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|