Files
ImageApi/Jenkinsfile
Cameron Cordes 505cd2f2e3
Some checks failed
Core Repos/ImageApi/pipeline/pr-master There was a failure building this commit
Fix the actual error..
2021-02-02 15:29:01 -05:00

26 lines
395 B
Groovy

pipeline {
agent {
docker {
image 'rust:1.48'
args '-v "$PWD":/usr/src/image-api'
}
}
stages {
stage('build') {
steps {
sh 'echo $PWD'
sh 'cargo build --release'
archiveArtifacts artifacts: '**/target/release/**', fingerprint: true
}
}
stage('test') {
steps {
sh 'cargo test'
}
}
}
}