Delete 'Jenkinsfile'
This commit is contained in:
parent
f089e30b0a
commit
0d1b709c33
30
Jenkinsfile
vendored
30
Jenkinsfile
vendored
@ -1,30 +0,0 @@
|
|||||||
pipeline {
|
|
||||||
agent any
|
|
||||||
|
|
||||||
stages {
|
|
||||||
stage('Build') {
|
|
||||||
agent {
|
|
||||||
docker { image 'rust:alpine' }
|
|
||||||
}
|
|
||||||
|
|
||||||
steps {
|
|
||||||
sh 'cargo b --release'
|
|
||||||
archiveArtifacts artifacts: '/target/school_app_api', fingerprint: true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage('Test') {
|
|
||||||
agent {
|
|
||||||
docker { image 'rust:alpine' }
|
|
||||||
}
|
|
||||||
|
|
||||||
steps {
|
|
||||||
sh 'cargo test'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage('Deploy') {
|
|
||||||
steps {
|
|
||||||
echo 'Deploying....'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue
Block a user