Files
ImageApi/Jenkinsfile
Cameron Cordes 55725e2b3c
Some checks failed
Core Repos/ImageApi/pipeline/pr-master There was a failure building this commit
Core Repos/ImageApi/pipeline/head There was a failure building this commit
First stab at a Jenkinsfile
2021-02-02 15:04:28 -05:00

26 lines
379 B
Groovy

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