Switch to rust docker image

This commit is contained in:
Mitchell Marino 2022-11-27 20:29:22 -06:00
parent 821157ee2a
commit f089e30b0a

8
Jenkinsfile vendored
View File

@ -3,12 +3,20 @@ pipeline {
stages {
stage('Build') {
agent {
docker { image 'rust:alpine' }
}
steps {
sh 'cargo b --release'
archiveArtifacts artifacts: '/target/school_app_api', fingerprint: true
}
}
stage('Test') {
agent {
docker { image 'rust:alpine' }
}
steps {
sh 'cargo test'
}