Compare commits
4 Commits
master
...
c482912fd8
| Author | SHA1 | Date | |
|---|---|---|---|
| c482912fd8 | |||
| fcc520af1a | |||
| 19dea67e3f | |||
| 55725e2b3c |
Vendored
+25
@@ -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'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user