4 Commits

Author SHA1 Message Date
Cameron Cordes 8a59a70dc4 Wrestling with string interpolation
Core Repos/ImageApi/pipeline/pr-master There was a failure building this commit
2021-02-02 15:13:35 -05:00
Cameron Cordes fcc520af1a Try and fix docker image args
Core Repos/ImageApi/pipeline/pr-master There was a failure building this commit
2021-02-02 15:11:24 -05:00
Cameron Cordes 19dea67e3f Fix archive syntax
Core Repos/ImageApi/pipeline/pr-master There was a failure building this commit
2021-02-02 15:07:11 -05:00
Cameron Cordes 55725e2b3c First stab at a Jenkinsfile
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
2021-02-02 15:04:28 -05:00
Vendored
+25
View File
@@ -0,0 +1,25 @@
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 artifacts: '**/target/release/**', fingerprint: true
}
}
stage('test') {
steps {
sh 'cargo test'
}
}
}
}