Compare commits

...

4 Commits

Author SHA1 Message Date
Cameron Cordes
c482912fd8 Wrestling with string interpolation
Some checks failed
Core Repos/ImageApi/pipeline/pr-master There was a failure building this commit
2021-02-02 15:14:50 -05:00
Cameron Cordes
fcc520af1a Try and fix docker image args
Some checks failed
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
Some checks failed
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
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
2021-02-02 15:04:28 -05:00

25
Jenkinsfile vendored Normal file
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'
}
}
}
}