26 lines
542 B
Groovy
26 lines
542 B
Groovy
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') {
|
|
archiveArtifacts artifacts: 'target/release/morethantext_web', fingerprint: true
|
|
}
|
|
}
|
|
}
|