2024-07-30 15:11:31 -04:00
|
|
|
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"
|
2024-07-30 20:04:01 -04:00
|
|
|
sh "pipenv run python -m unittest"
|
2024-07-30 15:11:31 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Archiving') {
|
|
|
|
steps {
|
|
|
|
archiveArtifacts artifacts: 'target/release/morethantext_web', fingerprint: true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|