2022-03-23 11:53:10 -04:00
|
|
|
pipeline {
|
2022-03-23 10:28:56 -04:00
|
|
|
agent any
|
|
|
|
|
|
|
|
stages {
|
2022-06-03 11:52:18 -04:00
|
|
|
stage('Rust Testing') {
|
2022-03-23 10:28:56 -04:00
|
|
|
steps {
|
|
|
|
sh "cargo test"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Linux Build') {
|
|
|
|
steps {
|
|
|
|
sh "cargo build --release"
|
|
|
|
}
|
|
|
|
}
|
2022-06-03 11:52:18 -04:00
|
|
|
stage('Integration Testing') {
|
|
|
|
steps {
|
|
|
|
sh "pipenv install"
|
|
|
|
sh "pipenv run pytest"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Archiving') {
|
2022-06-03 12:03:37 -04:00
|
|
|
steps {
|
|
|
|
archiveArtifacts artifacts: 'target/release/morethantext_web', fingerprint: true
|
|
|
|
}
|
2022-06-03 11:52:18 -04:00
|
|
|
}
|
2022-03-23 10:28:56 -04:00
|
|
|
}
|
|
|
|
}
|