Compare commits
4 Commits
feature/im
...
8a59a70dc4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8a59a70dc4 | ||
|
|
fcc520af1a | ||
|
|
19dea67e3f | ||
|
|
55725e2b3c |
25
Jenkinsfile
vendored
Normal file
25
Jenkinsfile
vendored
Normal 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'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user