28 lines
580 B
Plaintext
28 lines
580 B
Plaintext
|
pipeline {
|
||
|
agent any
|
||
|
|
||
|
stages {
|
||
|
stage('Rust Testing') {
|
||
|
steps {
|
||
|
sh "cargo test"
|
||
|
}
|
||
|
}
|
||
|
stage('Linux Build') {
|
||
|
steps {
|
||
|
sh "cargo build --release"
|
||
|
}
|
||
|
}
|
||
|
stage('Integration Testing') {
|
||
|
steps {
|
||
|
sh "pipenv install"
|
||
|
sh "pipenv run pytest"
|
||
|
}
|
||
|
}
|
||
|
stage('Archiving') {
|
||
|
steps {
|
||
|
archiveArtifacts artifacts: 'target/release/morethantext_web', fingerprint: true
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|